On Fri, May 13, 2011 at 11:13 AM, Ross Thomas <span dir="ltr">&lt;<a href="mailto:boscorama@fastmail.us">boscorama@fastmail.us</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Try using:<br>
   eval echo &quot;\${${i}[2]}&quot;<br>
<br>
Bash doesn&#39;t seem to like using a variable as an array name.<br>
<br>
HTH<br></blockquote><div><br><br>I just had to reply to say that that solution is both absolutely brilliant and hilarious.<br><br><br clear="all">William Tracy<br>Work: <a href="mailto:wtracy@cisco.com">wtracy@cisco.com</a><br>
Play: <a href="mailto:afishionado@gmail.com">afishionado@gmail.com</a><br>Cell phone: (805) 704-0917<br>Internet phone: (707) 206-6441<br>
<br><br> </div></div>