From garys@opusnet.com  Thu Aug 11 15:26:46 2005
Return-Path: <garys@opusnet.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9E0F516A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 11 Aug 2005 15:26:46 +0000 (GMT)
	(envelope-from garys@opusnet.com)
Received: from opusnet.com (mail.opusnet.com [209.210.200.6])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 5406B43D45
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 11 Aug 2005 15:26:46 +0000 (GMT)
	(envelope-from garys@opusnet.com)
Received: from localhost.localhost [70.98.246.232] by opusnet.com with ESMTP
  (SMTPD32-8.05) id AE34EBD4014C; Thu, 11 Aug 2005 08:26:44 -0700
Received: from localhost.localhost (localhost.localhost [127.0.0.1])
	by localhost.localhost (8.13.3/8.13.3) with ESMTP id j7BFTFjk006998
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 11 Aug 2005 08:29:15 -0700 (PDT)
	(envelope-from garys@opusnet.com)
Received: (from jojo@localhost)
	by localhost.localhost (8.13.3/8.13.3/Submit) id j7BFTAl1006997;
	Thu, 11 Aug 2005 08:29:10 -0700 (PDT)
	(envelope-from garys@opusnet.com)
Message-Id: <pg3bpgijax.bpg@mail.opusnet.com>
Date: Thu, 11 Aug 2005 08:29:10 -0700
From: "Gary W. Swearingen" <garys@opusnet.com>
Reply-To: garys@opusnet.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: [patch] sh(1) manpage built-in list omits "local" and "return"
X-GNATS-Notify:

>Number:         84807
>Category:       docs
>Synopsis:       [patch] sh(1) manpage built-in list omits "local" and "return"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    jcamou
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 11 15:30:20 GMT 2005
>Closed-Date:    Thu Nov 03 00:18:01 GMT 2005
>Last-Modified:  Thu Nov 03 00:18:01 GMT 2005
>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:
Responsible-Changed-From-To: freebsd-doc->jcamou  
Responsible-Changed-By: jcamou 
Responsible-Changed-When: Mon Aug 15 02:14:03 GMT 2005 
Responsible-Changed-Why:  
Take it.  

http://www.freebsd.org/cgi/query-pr.cgi?pr=84807 
State-Changed-From-To: open->closed  
State-Changed-By: jcamou 
State-Changed-When: Thu Nov 3 00:17:07 GMT 2005 
State-Changed-Why:  
Patch committed to HEAD.  I apologize for the delay, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=84807 
>Unformatted:
