Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site turtlevax.UUCP
Path: utzoo!utcs!lsuc!pesnta!amd!turtlevax!ken
From: ken@turtlevax.UUCP (Ken Turkowski)
Newsgroups: net.unix
Subject: "set" question for Bourne shell scripts
Message-ID: <661@turtlevax.UUCP>
Date: Tue, 12-Feb-85 18:26:40 EST
Article-I.D.: turtleva.661
Posted: Tue Feb 12 18:26:40 1985
Date-Received: Wed, 13-Feb-85 20:19:59 EST
Distribution: net
Organization: CADLINC, Inc. @ Menlo Park, CA
Lines: 20

The Bourne shell allows you to set the positional parameters with:
	set a b c d e
so that 
	$1 yields a
	$2 yields b
	$3 yields c
	$4 yields d
	$5 yields e
	$# yields 5
regardless of the parameters given to the shell script on the command line.

Now, my question is, how do you remove all parameters, i.e. set $# to 0?
If you just say
	set
you get a listing of all of the shell variables and their values.
-- 

Ken Turkowski @ CADLINC, Menlo Park, CA
UUCP: {amd,decwrl,nsc,seismo,spar}!turtlevax!ken
ARPA: turtlevax!ken@DECWRL.ARPA