Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site timeb.UUCP
Path: utzoo!watmath!clyde!cbosgd!cbdkc1!desoto!cord!bentley!hoxna!houxm!vax135!timeinc!timeb!dwight
From: dwight@timeb.UUCP (Dwight Ernest)
Newsgroups: net.unix
Subject: Re: "set" question for Bourne shell scripts
Message-ID: <70@timeb.UUCP>
Date: Wed, 13-Feb-85 20:51:05 EST
Article-I.D.: timeb.70
Posted: Wed Feb 13 20:51:05 1985
Date-Received: Thu, 14-Feb-85 21:16:27 EST
References: <661@turtlevax.UUCP>
Distribution: net
Organization: Time, Inc., New York City
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.
-- 
		--Dwight Ernest	KA2CNN	\ Usenet:...vax135!timeinc!dwight
		Time Inc. Editorial Technology Group, New York City
		Voice: (212) 554-5061 \ Compuserve: 70210,523
		Telemail: DERNEST/TIMECOMDIV/TIMEINC \ MCI: DERNEST

"The opinions expressed above are those of the writer and do not necessarily
 reflect the opinions of Time Incorporated."
-----------------------------------------------------------------------------