KSH script arguments
Steve Spicer
spicer at tci.UUCP
Thu Aug 30 22:59:58 AEST 1990
In article <13160 at hydra.gatech.EDU> gt0178a at prism.gatech.EDU (BURNS,JIM) writes:
>in article <b4CC02oVc3Jx01 at amdahl.uts.amdahl.com>, jonc at uts.amdahl.com (Jonathan Chang) says:
>> How can I extract the last argument to a ksh script?
>
Why not do it the way Korn does it?
eval lastarg='$'$#
It's in the book.
Steven Spicer
Technology Concepts, Inc.
Sudbury MA 01776
spicer at tci.bell-atl.com
More information about the Comp.unix.questions
mailing list