Writing Robust Bash Shell Scripts(davidpashley.com)
davidpashley.com
Writing Robust Bash Shell Scripts
http://www.davidpashley.com/articles/writing-robust-shell-scripts/
1 comments
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).