How to debug a Shell Script smartly

61
Anonymous Reader writes “This article shows you how to write your shell scripts smartly to make them easier to test and debug. You can use traditional set command. There is drawback of using set command. Before moving a script to production environment you need to remove all debug lines. This tip shows you how to solve this old problem without introducing any new errors.”

Link: cyberciti.biz