You can use indirect references (a feature of bash 2 and up) with scalar variables, but not arrays. Example: VAR1=FOO VAR2=VAR1 # prints "FOO" echo ${!VAR2} -Barry