"set" question for Bourne shell scripts

Al Filipski al at mot.UUCP
Sat Feb 16 03:31:10 AEST 1985



>Now, my question is, how do you remove all parameters, i.e. set $# to 0?

try
	shift $#


--------------------------------
Alan Filipski, UNIX group, Motorola Microsystems, Tempe, AZ U.S.A
{seismo | ihnp4 } ! ut-sally ! oakhill ! mot ! al
--------------------------------
Your ad could appear in this space.



More information about the Comp.unix mailing list