Path: utzoo!attcan!uunet!mcvax!mhres!hd From: hd@mh_co2.mh.nl (Theo Hardendood) Newsgroups: comp.unix.questions Subject: Re: Csh question Message-ID: <2109@mhres.mh.nl> Date: 20 Jul 88 12:29:41 GMT References: <8807191241.AA18881@decwrl.dec.com> Sender: news@mhres.mh.nl Lines: 13 From article <8807191241.AA18881@decwrl.dec.com>, by ellis@ultra.dec.com (David Ellis): > Is there any way to get the value of a variable whose name is the value of > another variable? > e.g. if we've done set x=a and set a=3, is there any simple csh expression > in terms of x that yields the value of a (3)? set a=3 set x=a set test=`eval echo \$$x` Theo Hardendood USENET: hd@mh.nl via European backbone (mcvax). UUCP : ..!mcvax!mhres!mh_co2!hd