[NBLUG/talk] Arrays in Bash

Andrew argonaut at gmx.co.uk
Fri May 13 11:46:21 PDT 2011


Ross Thomas wrote on Fri, 13 May 2011 11:13:35 -0700:

> Try using:
>    eval echo "\${${i}[2]}"

It works! Yes!

You know, at some point in my testing I did try variations using
eval, but I was using it *inside* the quotes.

Thank you, thank you, thank you.

A.



More information about the talk mailing list