Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

No pipefail option?



It seems like it would be a good bash-compatibility option to have
available.  I know we can check $pipestatus, but often I simply want to
abort the script if any command in the pipeline failed without having to do
an explicit check (similarly to how the errexit option works).  Explicit
checks too easily get forgotten or overlooked or even just implemented
incorrectly.

--Shawn


Messages sorted by: Reverse Date, Date, Thread, Author