Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uakari.primate.wisc.edu!sdd.hp.com!hplabs!hpcc05!col!hpldola!hp-lsd!jimr From: jimr@hp-lsd.COS.HP.COM (Jim Rogers) Newsgroups: comp.unix.questions Subject: Re: Variable substitition Message-ID: <7370019@hp-lsd.COS.HP.COM> Date: 4 Dec 90 21:25:05 GMT References: <1990Nov30.092424@cs.utwente.nl> Organization: HP Logic Systems Division - ColoSpgs, CO Lines: 18 / hp-lsd:comp.unix.questions / jim@segue.segue.com (Jim Balter) / 8:05 am Dec 1, 1990 / In article <8393@star.cs.vu.nl> maart@cs.vu.nl (Maarten Litmaath) writes: ># eval echo \"\$$#\" Or eval last=\$$# echo "$last" ---------- for ksh, to ensure the ability to read arguments past $9: eval last=\${${#}} echo "$last" Jim Rogers Some of us deal with more than 9 arguments at a time.