"set" question for Bourne shell scripts
    Guy Harris 
    guy at rlgvax.UUCP
       
    Sun Feb 17 06:31:53 AEST 1985
    
    
  
> > 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
    
    
More information about the Comp.unix
mailing list