nalika / rpms / bash

Forked from rpms/bash 2 years ago
Clone

Blame SOURCES/bash-4.2-manpage.patch

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