Created
February 7, 2025 00:37
-
-
Save ElijahLynn/e5cb480ea80d977f87f556b67f68d898 to your computer and use it in GitHub Desktop.
bash strict mode oneliner with a good comment explaining the options
This file contains hidden or 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
# enable bash strict mode: exit on error (-e), undefined variables (-u), & pipe failures (-o pipefail) | |
set -euo pipefail |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment