commit bash-20061206 snapshot

This commit is contained in:
Chet Ramey
2011-12-07 09:01:16 -05:00
parent 39393a5bd6
commit 10a5f6b4cc
5 changed files with 23 additions and 16 deletions
+5 -4
View File
@@ -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