bash: set -euxo pipefail
#!/usr/bin/env bash set -euxo pipefail Explanations from the Bash Reference Manual: -e Exit immediately if a pipeline, which may consist of a single simple command, a list, or a compound command returns a non-zero status. -u Treat unset variables and parameters other than the special parameters ‘@’ or ‘*’, or array variables subscripted with ‘@’ or ‘*’, as an error when performing parameter expansion. An error message will be written to the standard error, and a non-interactive shell will exit....