1 year ago
#379235
KarlsD
Wildcard for variable output
I have a list of the following variables:
abc1=1
abc2=2
qwerty=4
qwerty3=3
abc9=9
Is it possible somehow to output the value of all variables that begin with abc
?
Something like wildcard: printf "%s\n" "${abc*}"
shell
sh
0 Answers
Your Answer