[comp.unix.shell] Variable substitution in a C Shell

lim@ecs.umass.edu (12/04/90)

Thanks to all who replied to my question about variable substitution in a C 
Shell. Here's a summary of what I got:

@ base = 5
set level1 = base
set level2 = level1

eval echo \$$level1 ==> 5
eval echo \$`eval echo \$$level2` ==> 5


Jonathan Lim