News for hackers. Stuff that matters.
Re:Common shell script mistakes (2008) by the_why_of_y on Sunday June 05, 2016 @07:49AM (#11840495)
Add to that better error handling.

AFAIK in POSIX /bin/sh it's not possible to detect if a process that writes into a pipe exits with an error status.

bash has "set -o pipefail" and "$PIPESTATUS" for that.

There are no comments on this comment yet.