Tuesday, March 27, 2012

Shell programming: pipefail

Today I discovered Bash's pipefail option. For a relevant blog post, see this.

So now all of my Bash scripts will begin with "set -e; set -o pipefail;"

0 comments:

Post a Comment