Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Aug 2005 08:29:10 -0700
From:      "Gary W. Swearingen" <garys@opusnet.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   docs/84807: [patch] sh(1) manpage built-in list omits "local" and "return"
Message-ID:  <pg3bpgijax.bpg@mail.opusnet.com>
Resent-Message-ID: <200508111530.j7BFUKlU034127@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?pg3bpgijax.bpg>