Finding the last arg
Conor P. Cahill
cpcahil at virtech.uucp
Fri Dec 28 02:49:17 AEST 1990
In article <18476 at shlump.nac.dec.com> lan_csse at netrix.nac.dec.com (CSSE LAN Test Account) writes:
>The obvious thing to try is some sort of expression combining $# with ${},
>e.g. ${$#}. This gets a syntax error. The simpler $$# is valid, but it
Try:
eval \$$#
--
Conor P. Cahill (703)430-9247 Virtual Technologies, Inc.,
uunet!virtech!cpcahil 46030 Manekin Plaza, Suite 160
Sterling, VA 22170
More information about the Comp.unix.shell
mailing list