Roman Rakus f90282
diff -up bash-3.2/doc/bash.1.manpage bash-3.2/doc/bash.1
Roman Rakus f90282
--- bash-3.2/doc/bash.1.manpage	2008-07-15 13:11:39.000000000 +0200
Roman Rakus f90282
+++ bash-3.2/doc/bash.1	2008-07-15 13:37:39.000000000 +0200
Roman Rakus f90282
@@ -4139,6 +4139,9 @@ The 
Roman Rakus f90282
 .I "previous job"
Roman Rakus f90282
 may be referenced using
Roman Rakus f90282
 .BR %\- .
Roman Rakus f90282
+When there is the current job only, 
Roman Rakus f90282
+.BR %\- 
Roman Rakus f90282
+refers to the shell's notion of the current job.
Roman Rakus f90282
 In output pertaining to jobs (e.g., the output of the
Roman Rakus f90282
 .B jobs
Roman Rakus f90282
 command), the current job is always flagged with a
Roman Rakus f90282
@@ -6105,10 +6108,9 @@ loop.  If \fIn\fP is specified, break \f
Roman Rakus f90282
 must be \(>= 1.  If
Roman Rakus f90282
 .I n
Roman Rakus f90282
 is greater than the number of enclosing loops, all enclosing loops
Roman Rakus f90282
-are exited.  The return value is 0 unless the shell is not executing
Roman Rakus f90282
-a loop when
Roman Rakus f90282
-.B break
Roman Rakus f90282
-is executed.
Roman Rakus f90282
+are exited.  The return value is non-zero when 
Roman Rakus f90282
+.I n
Roman Rakus f90282
+is \(<= 0; Otherwise, break returns 0 value.
Roman Rakus f90282
 .TP
Roman Rakus f90282
 \fBbuiltin\fP \fIshell\-builtin\fP [\fIarguments\fP]
Roman Rakus f90282
 Execute the specified shell builtin, passing it
Roman Rakus f90282
@@ -6448,10 +6450,11 @@ is specified, resume at the \fIn\fPth en
Roman Rakus f90282
 must be \(>= 1.  If
Roman Rakus f90282
 .I n
Roman Rakus f90282
 is greater than the number of enclosing loops, the last enclosing loop
Roman Rakus f90282
-(the ``top-level'' loop) is resumed.  The return value is 0 unless the
Roman Rakus f90282
-shell is not executing a loop when
Roman Rakus f90282
-.B continue
Roman Rakus f90282
-is executed.
Roman Rakus f90282
+(the ``top-level'' loop) is resumed.  When continue is executed inside
Roman Rakus f90282
+of loop, the return value is non-zero when
Roman Rakus f90282
+.I n
Roman Rakus f90282
+is \(<= 0; Otherwise, continue returns 0 value.
Roman Rakus f90282
+When continue is executed outside of loop, the return value is 0.
Roman Rakus f90282
 .TP
Roman Rakus f90282
 \fBdeclare\fP [\fB\-afFirtx\fP] [\fB\-p\fP] [\fIname\fP[=\fIvalue\fP] ...]
Roman Rakus f90282
 .PD 0
Roman Rakus f90282
@@ -8217,7 +8220,9 @@ by default.
Roman Rakus f90282
 Suspend the execution of this shell until it receives a
Roman Rakus f90282
 .SM
Roman Rakus f90282
 .B SIGCONT
Roman Rakus f90282
-signal.  The
Roman Rakus f90282
+signal.  When the suspended shell is a background process, it can be restarted by the fg command. For more information, read the
Roman Rakus f90282
+.B JOB CONTROL 
Roman Rakus f90282
+section. The
Roman Rakus f90282
 .B \-f
Roman Rakus f90282
 option says not to complain if this is 
Roman Rakus f90282
 a login shell; just suspend anyway.  The return status is 0 unless
Roman Rakus f90282
@@ -8901,5 +8907,9 @@ unmatched parentheses, even inside shell
Roman Rakus f90282
 error messages while the construct is being read.
Roman Rakus f90282
 .PP
Roman Rakus f90282
 Array variables may not (yet) be exported.
Roman Rakus f90282
+.PP
Roman Rakus f90282
+When breaking out of multiple loops, if the outermost loop
Roman Rakus f90282
+consists of more than one command, the exit status of break and continue
Roman Rakus f90282
+is lost.
Roman Rakus f90282
 .zZ
Roman Rakus f90282
 .zY