Comment Comment by nrvn A worse idea would be to run bash scripts adhoc without at least `set -u`.There is an unofficial bash “strict mode”, overlooked and undervalued:set -euo pipefailJust use it everywhere and use shellcheck for scripts. parent nrvn 2 years ago
There is an unofficial bash “strict mode”, overlooked and undervalued:
set -euo pipefail
Just use it everywhere and use shellcheck for scripts.