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

[ale] variable variables in bash/ksh?



On Mon, 19 Apr 2004 10:06:26 -0400
Jason Etheridge <phasefx at magusaptus.com> wrote:
> There's probably a more elegant way to do it, but in bash:
> eval echo $`echo ${XYZ}`
> 

Thanks Jason.  Another way I found in groups.google.com is:

eval echo \$$XYZ

Thanks very much for the help.

John