svashisht / rpms / bash

Forked from rpms/bash 4 years ago
Clone

Blame SOURCES/bash-4.2-manpage.patch

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