4 ms·
I use the long form so others reading script that may not be familiar with set options gets a hint of what's going on. At the top of each file with a brief com
by ctrlrsf 10y ago
I use the long form so others reading script that may not be familiar with set options gets a hint of what's going on.
At the top of each file with a brief comment I add:
set -o errexit
set -o nounset
set -o pipefail