I am trying to do this:
testarr=(1 2 3 4)
indirect=testarr
echo ${!indirect[@]}
And have "1 2 3 4" printed out. This does not seem to be
possible with my 2.05b.0 shell. Am I missing some kind of
syntax sauce, or are only simple variables supported with
indirection?
Please CC me as I am not on the list.
[Prev in Thread]
Current Thread
[Next in Thread]
variable indirection with arrays,
Scott Mcdermott<=