Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!crackers!m2c!umvlsi!umaecs!lim From: lim@ecs.umass.edu Newsgroups: comp.unix.shell Subject: Variable substitution in a C Shell (Summary) Message-ID: <11656.275ac049@ecs.umass.edu> Date: 3 Dec 90 21:14:49 GMT Lines: 12 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