Blame SOURCES/bash-4.2-manpage.patch

1d932a
diff -up bash-4.2/doc/bash.1.manpage bash-4.2/doc/bash.1
1d932a
--- bash-4.2/doc/bash.1.manpage	2011-01-26 15:30:03.000000000 +0100
1d932a
+++ bash-4.2/doc/bash.1	2011-01-26 15:47:16.000000000 +0100
1d932a
@@ -6646,7 +6646,9 @@ must be \(>= 1.  If
1d932a
 .I n
1d932a
 is greater than the number of enclosing loops, all enclosing loops
1d932a
 are exited.
1d932a
-The return value is 0 unless \fIn\fP is not greater than or equal to 1.
1d932a
+The return value is non-zero when \fIn\fP is \(<= 0; Otherwise,
1d932a
+.BR break
1d932a
+returns 0 value.
1d932a
 .TP
1d932a
 \fBbuiltin\fP \fIshell\-builtin\fP [\fIarguments\fP]
1d932a
 Execute the specified shell builtin, passing it
1d932a
@@ -7017,7 +7019,15 @@ must be \(>= 1.  If
1d932a
 .I n
1d932a
 is greater than the number of enclosing loops, the last enclosing loop
1d932a
 (the ``top-level'' loop) is resumed.
1d932a
-The return value is 0 unless \fIn\fP is not greater than or equal to 1.
1d932a
+When
1d932a
+.BR continue
1d932a
+is executed inside of loop, the return value is non-zero when
1d932a
+.I n
1d932a
+is \(<= 0; Otherwise,
1d932a
+.BR continue
1d932a
+returns 0 value. When
1d932a
+.BR continue
1d932a
+is executed outside of loop, the return value is 0.
1d932a
 .TP
1d932a
 \fBdeclare\fP [\fB\-aAfFgilrtux\fP] [\fB\-p\fP] [\fIname\fP[=\fIvalue\fP] ...]
1d932a
 .PD 0
1d932a
@@ -9019,9 +9029,19 @@ by default.
1d932a
 Suspend the execution of this shell until it receives a
1d932a
 .SM
1d932a
 .B SIGCONT
1d932a
-signal.  A login shell cannot be suspended; the
1d932a
+signal. When the suspended shell is a background process, it can be restarted
1d932a
+by the
1d932a
+.B fg
1d932a
+command. For more information, read the
1d932a
+.SM
1d932a
+.B JOB CONTROL
1d932a
+section. The
1d932a
+.B suspend
1d932a
+command can not suspend the login shell. However, when
1d932a
 .B \-f
1d932a
-option can be used to override this and force the suspension.
1d932a
+option is specified,
1d932a
+.B suspend
1d932a
+command can suspend even login shell.
1d932a
 The return status is 0 unless the shell is a login shell and
1d932a
 .B \-f
1d932a
 is not supplied, or if job control is not enabled.