Path: utzoo!dciem!nrcaer!scs!spl1!laidbak!att!mtunx!whuts!mhuxh!mhuxu!mhuxt!mhuxi!mhuhk!mhuxo!ulysses!andante!mit-eddie!bloom-beacon!gatech!ncar!b From: wu@spot.UUCP Newsgroups: comp.unix.questions Subject: Re: argv[0] in shellscript? Message-ID: <6486@sigi.Colorado.EDU> Date: 5 Jun 88 17:49:43 GMT Article-I.D.: sigi.6486 References: <1813@stpstn.UUCP> Sender: news@sigi.Colorado.EDU Reply-To: wu@spot.Colorado.EDU (WU SHI-KUEI) Organization: University of Colorado, Boulder Lines: 9 In article <1813@stpstn.UUCP> aad@stpstn.UUCP (Anthony A. Datri) writes: > >I want to write a script that will have multiple links to it, and be >able to tell what name it was invoked with. Ideas? In the Bourne shell ${0} does just fine. Carl Brandauer inhp4!stcvax!nbires!bdaemon!carl