UNSET(1SH) COMMAND REFERENCE UNSET(1SH)
NAME
unset - remove variables and functions (sh built-in)
SYNOPSIS
unset [ name . . . ]
DESCRIPTION
For each name, the corresponding variable or function is
removed.
The variables PATH, PS1, PS2, MAILCHECK, and IFS cannot be
unset.
EXAMPLES
The following command makes sure that there are no functions
called ls defined:
unset ls
RETURN VALUE
[NO_ERRS] Command completed without error.
[NP_ERR] An error occurred that was not a system
error. Execution terminated.
CAVEATS
The unset command is NOT the opposite of the set command.
SEE ALSO
break(1sh), cd(1sh), chdir(1sh), continue(1sh), csh(1csh),
echo(1sh), eval(1sh), exec(1sh), exit(1sh), export(1sh),
hash(1sh), login(1), pwd(1sh), read(1sh), readonly(1sh),
return(1sh), set(1sh), sh(1sh), shift(1sh), test(1sh),
times(1sh), trap(1sh), type(1sh), ulimit(1sh), umask(1sh),
unalias(1csh), unset(1csh), wait(1sh), which(1sh),
execve(2).
Printed 10/17/86 1
%%index%%
na:72,100;
sy:172,123;
de:295,426;
ex:721,183;
rv:904,244;
ca:1148,162;
se:1310,906;
%%index%%000000000118