Created
February 14, 2019 16:50
-
-
Save coltrane/7229e01bd4ef7e7da2ef17454c3d3974 to your computer and use it in GitHub Desktop.
better error handling in bash
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
#!/bin/bash | |
set -Eeuo pipefail | |
# for debug... | |
#set -x |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment