bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Man page incorrect for "continue & break", "suspend" and "fg"


From: Roman Rakus
Subject: Man page incorrect for "continue & break", "suspend" and "fg"
Date: Mon, 09 Jun 2008 13:36:47 +0200
User-agent: Thunderbird 2.0.0.14 (X11/20080501)

I have found one message for this: http://lists.gnu.org/archive/html/bug-bash/2008-05/msg00074.html
And I have added some others patches. Oh, 1 patch for this 3 things :)
Please say if this patch will be applied.
diff -up bash-3.2/doc/bash.1.manpage bash-3.2/doc/bash.1
--- bash-3.2/doc/bash.1.manpage 2008-06-09 12:30:08.000000000 +0200
+++ bash-3.2/doc/bash.1 2008-06-09 13:20:35.000000000 +0200
@@ -4139,6 +4139,9 @@ The 
 .I "previous job"
 may be referenced using
 .BR %\- .
+When there is the current job only, 
+.BR %\- 
+refer to the shell's notion of the current job.
 In output pertaining to jobs (e.g., the output of the
 .B jobs
 command), the current job is always flagged with a
@@ -6093,10 +6096,9 @@ loop.  If \fIn\fP is specified, break \f
 must be \(>= 1.  If
 .I n
 is greater than the number of enclosing loops, all enclosing loops
-are exited.  The return value is 0 unless the shell is not executing
-a loop when
-.B break
-is executed.
+are exited.  The return value is 0 unless 
+.I n
+is not \(>= 1.
 .TP
 \fBbuiltin\fP \fIshell\-builtin\fP [\fIarguments\fP]
 Execute the specified shell builtin, passing it
@@ -6437,9 +6439,8 @@ must be \(>= 1.  If
 .I n
 is greater than the number of enclosing loops, the last enclosing loop
 (the ``top-level'' loop) is resumed.  The return value is 0 unless the
-shell is not executing a loop when
-.B continue
-is executed.
+.I n
+is not \(>= 1.
 .TP
 \fBdeclare\fP [\fB\-afFirtx\fP] [\fB\-p\fP] [\fIname\fP[=\fIvalue\fP] ...]
 .PD 0
@@ -8211,7 +8212,9 @@ by default.
 Suspend the execution of this shell until it receives a
 .SM
 .B SIGCONT
-signal.  The
+signal.  When the suspended shell is a background process, it can be restarted 
by the fg command. For more information, read the
+.B JOB CONTROL 
+section. The
 .B \-f
 option says not to complain if this is 
 a login shell; just suspend anyway.  The return status is 0 unless

Attachment: rrakus.vcf
Description: Vcard


reply via email to

[Prev in Thread] Current Thread [Next in Thread]