Last active
September 12, 2022 12:44
-
-
Save nvictor/4b08969a18b5fbfd81337494fdf14ce6 to your computer and use it in GitHub Desktop.
Bash set options
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -o errexit -o nounset -o xtrace -o pipefail | |
# or (set -euxo pipefail) | |
# See: https://tldp.org/LDP/abs/html/options.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment