Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!njin!princeton!spot.Princeton.EDU!pfalstad From: pfalstad@spot.Princeton.EDU (Paul John Falstad) Newsgroups: comp.unix.shell Subject: Re: Evaluating a nexted variable Message-ID: <3983@idunno.Princeton.EDU> Date: 11 Nov 90 01:34:34 GMT References: Sender: news@idunno.Princeton.EDU Distribution: na Organization: Princeton University, Princeton, New Jersey Lines: 22 In article mcneild@mcneild.Software.Mitel.COM (Doug McNeil) writes: >$ a=b >$ c=a >Determing the value of "a" given "c". >I came up with: >$ eval z="$`echo $c`" >$ echo $z Or: $ eval z=\$$c $ echo $z or: $ eval echo \$$c -- Paul Falstad, pfalstad@phoenix.princeton.edu PLink:HYPNOS GEnie:P.FALSTAD "Your attention, please. Would anyone who knows where the white courtesy phone is located please pick up the white courtesy phone."