'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*}"
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
