This article was very relevant to me. I've been writing bash script for so many years, yet I didn't know you could just "set -u" to make bash stop when I accidentally use an uninitialized variable. "set -e" is also incredible useful (bash quits if any statement fails).
1 comment
[ 3.5 ms ] story [ 13.8 ms ] thread