4 ms·
I use "set -Eeuo pipefail" in pretty much all bash scripts. (and often -x as well) Makes things much saner. This post is a better introduction than the submis
by the_duke 4y ago
I use "set -Eeuo pipefail" in pretty much all bash scripts.
(and often -x as well)
Makes things much saner.
This post is a better introduction than the submission: https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/ https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_p...
- hebrox 4y agoThanks! I'm not doing a lot of bash scripting, so there's always something weird happening. `set -Eeuxo pipefail` will be my new default.
- _dain_ 4y agoIt's still not enough though. https://www.oilshell.org/blog/2022/05/release-0.10.0.html https://www.oilshell.org/blog/2022/05/release-0.10.0.html