Re:Writing Robust Bash Shell Scripts
by lakwn on Thursday November 14, 2013 @11:58AM
(#6733428)
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).
[ Parent
| on HN ]
There are no comments on this comment yet.