On 07/11/2014 02:10 PM, Eric Blake wrote:
are you arguing that any shell that provides 'set -o pipefail' should ALSO provide a knob to explicitly treat death due to SIGPIPE as not impacting pipefail? At which point, then you DO want to re-enable rather than ignore SIGPIPE, and don't have to worry about what child processes do on EPIPE, but only what they do on SIGPIPE, where death by SIGPIPE is not fatal to the pipeline.
Yes, that's the basic idea. Sorry I did not explain it clearly enough. Please feel free to forward this on to the Austin group.