Writing Robust Bash Shell Scripts
Many people hack together shell scripts quickly to do simple tasks, but these soon take on a life of their own. Unfortunately shell scripts are full of subtle effects which result in scripts failing in unusual ways. It's possible to write scripts which minimise these problems.
Thu 16 Aug 2012 02:55:46 PM AEST - permalink -
-
http://www.davidpashley.com/articles/writing-robust-shell-scripts.html