diff options
author | jcamou <jcamou@FreeBSD.org> | 2005-11-03 00:15:19 +0000 |
---|---|---|
committer | jcamou <jcamou@FreeBSD.org> | 2005-11-03 00:15:19 +0000 |
commit | 93ee5d4e7ba01f19d14d35b388a1097d2e74fcd3 (patch) | |
tree | c0d7ad46861f88f6567a1b1b4aef92c035557276 /bin | |
parent | 6f668926f39f013a240c07bac638cd486dedd1cc (diff) | |
download | FreeBSD-src-93ee5d4e7ba01f19d14d35b388a1097d2e74fcd3.zip FreeBSD-src-93ee5d4e7ba01f19d14d35b388a1097d2e74fcd3.tar.gz |
Add `local' and `return' to the list of built-ins.
Submitted by: garys
Approved by: trhodes (mentor)
Diffstat (limited to 'bin')
-rw-r--r-- | bin/sh/sh.1 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/sh/sh.1 b/bin/sh/sh.1 index b0679ae..5e792d4 100644 --- a/bin/sh/sh.1 +++ b/bin/sh/sh.1 @@ -1780,6 +1780,10 @@ option is specified, the PID of each job is also printed. If the .Fl s option is specified, only the PIDs of the jobs are printed, one per line. +.It Ic local Oo Ar variable ... Oc Op Ar - +See the +.Sx Functions +subsection. .It Ic pwd Op Fl L | P Print the path of the current directory. The built-in command may @@ -1881,6 +1885,10 @@ If the option is specified, the read-only variables are printed as .Dq Ic readonly Ar name Ns = Ns Ar value lines, suitable for re-input to the shell. +.It Ic return Op Ar exitstatus +See the +.Sx Functions +subsection. .It Ic set Oo Fl /+abCEefIimnpTuVvx Oc Oo Fl /+o Ar longname Oc Oo .Fl c Ar string Oc Op Fl - Ar arg ... The |