Add local' and return' to the list of built-ins.

Submitted by:	garys
Approved by:	trhodes (mentor)
This commit is contained in:
Jesus R. Camou 2005-11-03 00:15:19 +00:00
parent e99f15ce9c
commit d2f90294d4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=151984

View File

@ -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