Hello List & thanks for any comments on this:
These commands work:
var1='ugly_hash'; declare -a _$var1; _ugly_hash+=(123);
But this does not:
_$var1+=(456); Error = "bash: syntax error near unexpected token `456'"
Question:
Is there a way to specify _ugly_hash using Parameter Expansion of $var1? In
the above I desired _$var1 to expand to _ugly_hash in order to add (+=) an
additional element to that array.