OILS
/
stdlib
/
osh
/ bash-strict.sh
View on Github
|
oilshell.org
8 lines, 5 significant
1
# Bash strict mode, updated for 2024
2
3
set -o nounset
4
set -o pipefail
5
set -o errexit
6
shopt -s inherit_errexit
7
shopt -s strict:all 2>/dev/null || true
# dogfood for OSH
8