Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!cbmvax!bpa!tci!spicer From: spicer@tci.UUCP (Steve Spicer) Newsgroups: comp.unix.questions Subject: Re: KSH script arguments Message-ID: <500@tci.UUCP> Date: 30 Aug 90 12:59:58 GMT References: <13160@hydra.gatech.EDU> Reply-To: spicer@tci.UUCP (PUT YOUR NAME HERE) Distribution: comp.unix.questions Organization: Technology Concepts Inc. Sudbury MA Lines: 15 In article <13160@hydra.gatech.EDU> gt0178a@prism.gatech.EDU (BURNS,JIM) writes: >in article , jonc@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@tci.bell-atl.com