diff options
author | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2013-10-06 21:35:27 +0100 |
---|---|---|
committer | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2013-10-06 21:35:27 +0100 |
commit | 52364258654418127d544d31b3c49b61019e2c7e (patch) | |
tree | c9942861227e2834769bea53a23f530703b8a8f0 /Doc/Zsh | |
parent | 16ff79a885f28bc9509901dd5d8ce9ccc9960811 (diff) | |
download | zsh-52364258654418127d544d31b3c49b61019e2c7e.tar.gz zsh-52364258654418127d544d31b3c49b61019e2c7e.tar.xz zsh-52364258654418127d544d31b3c49b61019e2c7e.zip |
users:18023: Add PIPEFAIL option
Diffstat (limited to 'Doc/Zsh')
-rw-r--r-- | Doc/Zsh/options.yo | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Doc/Zsh/options.yo b/Doc/Zsh/options.yo index ec862321e..71bddd570 100644 --- a/Doc/Zsh/options.yo +++ b/Doc/Zsh/options.yo @@ -1683,6 +1683,20 @@ Sequences of digits indicating a numeric base such as the `tt(08)' component in `tt(08#77)' are always interpreted as decimal, regardless of leading zeroes. ) +pindex(PIPE_FAIL) +pindex(NO_PIPE_FAIL) +pindex(PIPEFAIL) +pindex(NOPIPEFAIL) +cindex(exit status from pipeline) +cindex(status, on exit from pipeline) +cindex(pipeline, exit status from) +itme(tt(PIPE_FAIL))( +By default, when a pipeline exits the exit status recorded by the shell +and returned by the shell variable tt($?) reflects that of the +rightmost element of a pipeline. If this option is set, the exit status +instead reflects the status of the rightmost element of the pipeline +that was non-zero, or zero if all elements exited with zero status. +) pindex(SOURCE_TRACE) pindex(NO_SOURCE_TRACE) pindex(SOURCETRACE) |