Created
March 24, 2023 11:53
-
-
Save burghardt/a04bd80f986190dd16cf678300e11587 to your computer and use it in GitHub Desktop.
GNU BASH script header template with more reasonable defaults for writing robust scripts
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 -x | |
set -euCo pipefail | |
IFS=$'\n\t' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment