bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

variable indirection with arrays


From: Scott Mcdermott
Subject: variable indirection with arrays
Date: Wed, 30 Apr 2003 18:20:24 -0400
User-agent: Mutt/1.4i

I am trying to do this:

testarr=(1 2 3 4)
indirect=testarr
echo address@hidden

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]