Re:Ask HN: How can I get better at bash?
by oblio on Monday June 26, 2017 @05:39AM
(#14635378)
Then you have the age old problem: what if one of the tasks in your pipeline(s) fails?
[ Parent
| on HN ]
set -o pipefail -o errexit
Add more options to taste.
Re:Ask HN: How can I get better at bash?
by Benjamin_Dobell on Monday June 26, 2017 @06:13AM
(#14635549)
https://stackoverflow.com/questions/29532904/bash-subshell-e...
Not pipefail as such, but Bash's error handling semantics (or lack there of) is pretty lame.