Re: double array var expansion
[EMAIL PROTECTED] wrote: > Help! > > Why does this not work? > > n=a > a=( x y z) > echo "$!n[0]" > echo "$!n[1]" > echo "$!n[2]" > > > only value i get is a[0] First of all, you need the braces. Otherwise you get $!, followed by n[0], n[1], and n[2], respectively. Second, once you add the b
double array var expansion
Help! Why does this not work? n=a a=( x y z) echo "$!n[0]" echo "$!n[1]" echo "$!n[2]" only value i get is a[0] ___ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash