Hacker News new | ask | show | jobs
by andrewmackrodt 1685 days ago
A lesson I learnt several years ago when I discovered that mktemp behaves differently on macOS versus the GNU version in Linux.

From that day onward I always make sure the first line of my bash scripts contains at least "set -e".