Document the -f and -v options of the unset builtin.

This commit is contained in:
Tim J. Robbins 2002-06-06 04:12:50 +00:00
parent 592588448e
commit 8b34ad92a2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=97916

View File

@ -1860,12 +1860,22 @@ is specified, the shell removes that alias.
If
.Fl a
is specified, all aliases are removed.
.It Ic unset Ar name ...
The specified variables and functions are unset and unexported.
If a given
.It Xo
.Ic unset
.Op Fl fv
.Ar name ...
.Xc
The specified variables or functions are unset and unexported.
If the
.Fl v
option is specified or no options are given, the
.Ar name
corresponds to both a variable and a function,
both the variable and the function are unset.
arguments are treated as variable names.
If the
.Fl f
option is specified, the
.Ar name
arguments are treated as function names.
.It Ic wait Op Ar job
Wait for the specified
.Ar job