OILS / stdlib / osh / bash-strict.sh View on Github | oilshell.org

8 lines, 5 significant
1# Bash strict mode, updated for 2024
2
3set -o nounset
4set -o pipefail
5set -o errexit
6shopt -s inherit_errexit
7shopt -s strict:all 2>/dev/null || true # dogfood for OSH
8