[prev in list] [next in list] [prev in thread] [next in thread]
List: bash-bug
Subject: double array var expansion
From: BTrout () mbsbooks ! com
Date: 2006-02-23 22:58:49
Message-ID: OFA05978A6.0998C070-ON8625711E.007DFF04-8625711E.007EC587 () MBSBooks ! com
[Download RAW message or body]
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]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic