strict
- unofficial strict mode for bash
Just import this module, to enabe strict mode: set -euEo pipefail
.
-e
is not working when command is part of a compound command, or in subshell. See bash manual for details. For example, -e
may not working in a for
cycle.