Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site rlgvax.UUCP Path: utzoo!utcs!lsuc!pesnta!hplabs!hao!seismo!rlgvax!guy From: guy@rlgvax.UUCP (Guy Harris) Newsgroups: net.unix Subject: Re: "set" question for Bourne shell scripts Message-ID: <494@rlgvax.UUCP> Date: Sat, 16-Feb-85 15:31:53 EST Article-I.D.: rlgvax.494 Posted: Sat Feb 16 15:31:53 1985 Date-Received: Mon, 18-Feb-85 08:45:42 EST References: <661@turtlevax.UUCP> <70@timeb.UUCP> Distribution: net Organization: CCI Office Systems Group, Reston, VA Lines: 14 > > The Bourne shell allows you to set the positional parameters with: > > set a b c d e > > Now, my question is, how do you remove all parameters, i.e. set $# to 0? > > Try 'unset *'. Should work. I did try it with the System III shell; it said: unset: not found "unset" must have been added in System V Release 1.0 or 2.0. Guy Harris {seismo,ihnp4,allegra}!rlgvax!guy