Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!uflorida!stat!sun13!prism!gt0178a From: gt0178a@prism.gatech.EDU (BURNS,JIM) Newsgroups: comp.unix.questions Subject: Re: KSH script arguments Message-ID: <13205@hydra.gatech.EDU> Date: 31 Aug 90 02:44:06 GMT References: <842@travis.csd.harris.com> Organization: Georgia Institute of Technology Lines: 13 in article <842@travis.csd.harris.com>, brad@SSD.CSD.HARRIS.COM (Brad Appleton) says: < Im still hoping for a better way though! One of the few things I < like that csh has over ksh, is being able to returns subsets of < an array (a la $argv[5-8], $argv[-3], $argv[4-]) but I still dont < think csh had an "easy" way of getting just the last argument. ${argv[$#argv]}, since csh arrays start from 1. Argv[] is predefined as the command args, and $argv = $*. -- BURNS,JIM Georgia Institute of Technology, Box 30178, Atlanta Georgia, 30332 uucp: ...!{decvax,hplabs,ncar,purdue,rutgers}!gatech!prism!gt0178a Internet: gt0178a@prism.gatech.edu