bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

man page incorrect


From: James M. Leddy
Subject: man page incorrect
Date: Fri, 16 May 2008 17:22:23 -0400
User-agent: Thunderbird 2.0.0.14 (X11/20080501)

Hi,

There is an inconsistency between the man page and the texinfo page
regarding continue and break.  I've attached a patch that addresses this.


--- bash-3.2/doc/bash.1 2006-10-03 08:54:26.000000000 -0400
+++ bash-3.2/doc/bash.1.liketexi        2008-05-16 17:17:11.000000000 -0400
@@ -6086,10 +6086,9 @@
 must be \(>= 1.  If
 .I n
 is greater than the number of enclosing loops, all enclosing loops
-are exited.  The return value is 0 unless the shell is not executing
-a loop when
-.B break
-is executed.
+are exited.  The return value is 0 unless 
+.I n
+is not \(>= 1.
 .TP
 \fBbuiltin\fP \fIshell\-builtin\fP [\fIarguments\fP]
 Execute the specified shell builtin, passing it
@@ -6430,9 +6429,8 @@
 .I n
 is greater than the number of enclosing loops, the last enclosing loop
 (the ``top-level'' loop) is resumed.  The return value is 0 unless the
-shell is not executing a loop when
-.B continue
-is executed.
+.I n
+is not \(>= 1.
 .TP
 \fBdeclare\fP [\fB\-afFirtx\fP] [\fB\-p\fP] [\fIname\fP[=\fIvalue\fP] ...]
 .PD 0

reply via email to

[Prev in Thread] Current Thread [Next in Thread]