docs/84807: [patch] sh(1) manpage built-in list omits "local" and "return"

Gary W. Swearingen garys at opusnet.com
Thu Aug 11 15:30:21 UTC 2005


>Number:         84807
>Category:       docs
>Synopsis:       [patch] sh(1) manpage built-in list omits "local" and "return"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 11 15:30:20 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Gary W. Swearingen
>Release:        HEAD 08'aug'05
>Organization:
none
>Environment:
n/a
>Description:

The sh(1) manpage's list of built-ins omits "local" and "return".

>How-To-Repeat:
n/a

>Fix:

--- sh..orig.1	Tue Jun 14 01:25:00 2005
+++ sh.1	Mon Aug  8 09:34:24 2005
@@ -1719,6 +1719,10 @@
 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
@@ -1820,6 +1824,10 @@
 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
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-doc mailing list