From 10a5f6b4cc41a4cff0d37768f7f45be657056c7b Mon Sep 17 00:00:00 2001 From: Chet Ramey Date: Wed, 7 Dec 2011 09:01:16 -0500 Subject: commit bash-20061206 snapshot --- doc/bash.1 | 15 +++++++++++---- doc/bashref.texi | 9 +++++---- 2 files changed, 16 insertions(+), 8 deletions(-) (limited to 'doc') diff --git a/doc/bash.1 b/doc/bash.1 index bd29b8aa..bbf08ed9 100644 --- a/doc/bash.1 +++ b/doc/bash.1 @@ -5985,8 +5985,9 @@ no alias has been defined. Resume each suspended job \fIjobspec\fP in the background, as if it had been started with .BR & . -If \fIjobspec\fP is not present, the shell's notion of the -\fIcurrent job\fP is used. +If +.I jobspec +is not present, the shell's notion of the \fIcurrent job\fP is used. .B bg .I jobspec returns 0 unless run when job control is disabled or, when run with @@ -6572,6 +6573,10 @@ of the directory stack. Without options, each .I jobspec is removed from the table of active jobs. +If +.I jobspec +is not present, and neither \fB\-a\fB nor \fB\-r\fP is supplied, +the shell's notion of the \fIcurrent job\fP is used. If the \fB\-h\fP option is given, each .I jobspec is not removed from the table, but is marked so that @@ -7587,12 +7592,14 @@ or .B until keyword, part of the test in an -.I if +.B if statement, part of a .B && or .B \(bv\(bv -list, or if the command's return value is +list, +any command in a pipeline but the last, +or if the command's return value is being inverted via .BR ! . A trap on \fBERR\fP, if set, is executed before the shell exits. diff --git a/doc/bashref.texi b/doc/bashref.texi index 2460df76..f0b39afa 100644 --- a/doc/bashref.texi +++ b/doc/bashref.texi @@ -3967,10 +3967,11 @@ immediately, rather than before printing the next primary prompt. @item -e Exit immediately if a simple command (@pxref{Simple Commands}) exits with a non-zero status, unless the command that fails is part of the -command list immediately following a @code{while} or @code{until} -keyword, part of the test in an @code{if} statement, -part of a @code{&&} or @code{||} list, or if the command's return -status is being inverted using @code{!}. +command list immediately following a @code{while} or @code{until} keyword, +part of the test in an @code{if} statement, +part of a @code{&&} or @code{||} list, +any command in a pipeline but the last, +or if the command's return status is being inverted using @code{!}. A trap on @code{ERR}, if set, is executed before the shell exits. @item -f -- cgit v1.2.1