Programming Tips - Bash: strict mode - stop for undefined variables, etc

Date: 2020oct10 Language: bash Q. Bash: strict mode - stop for undefined variables, etc A.
#!/bin/bash set -euo pipefail
This is short for: set -e: exit for non-zero status set -u: exit for undefined variables set -o pipefail: make a non-zero in a pipe construct fail the whole pipe