Bash strict mode: the 4-line preamble (set -euo pipefail; IFS=$’\n\t’) and what each flag actually buys you
Most production bash scripts I’ve inherited start with a comment block, then dive straight into echos and mkdirs and cps. They look fine. They run fine, most of the time. They fail mysteriously the one time it …