Get list of variables whose name matches a certain pattern

后端 未结 5 543
隐瞒了意图╮
隐瞒了意图╮ 2020-12-13 09:21

In bash

echo ${!X*}

will print all the names of the variables whose name starts with \'X\'.
Is it possible to get the same with an ar

5条回答
提交回复
热议问题