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