When committing bash crimes..:
๐ set -euo pipefail
๐ set -o errexit -o nounset -o pipefail
(Give the person reading your script a fighting chance at being able to search the manual for exactly how the heck the cryptic header incantations are influencing shell behaviour in crucial and subtle ways. Greybeards will already know, but it may give a new learner just a bit more of a chance to learn the old magic more easily. Help maintain the front door as well as the foundations and plumbing.)