4 ms·
Yes, ‘set -euo pipefail’ is a must for safety in every bash script, I had to learn that the hard way too. More info: https://vaneyckt.io/posts/safer_bash_scrip
by Epskampie 6y ago
Yes, ‘set -euo pipefail’ is a must for safety in every bash script, I had to learn that the hard way too.
More info: https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/ https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_p...
- carlmr 6y agoI'd add the mentioned user suggestion `set -Eeuo pipefail`.