▲ | vivzkestrel 2 days ago | ||||||||||||||||
Lots of arguments against not using set -euo pipefail https://www.reddit.com/r/commandline/comments/g1vsxk/comment... anything you wanna say about this? | |||||||||||||||||
▲ | jacob2161 2 days ago | parent | next [-] | ||||||||||||||||
That post is quite nitpicky, pointing to edge cases and old version behavior. The essence of it is that writing reliable Bash scripts requires significant domain knowledge, which is true. Bash scripts are great if you've been doing it for a very long time or you're doing something simple and small (<50 LOC). If it's complicated or large, you should just write it in a proper programming language anyway. | |||||||||||||||||
| |||||||||||||||||
▲ | awestroke 2 days ago | parent | prev [-] | ||||||||||||||||
euo pipefail has been the one good thing with bash. I'll start looking at alternatives now |