Most shell script programmers know the command
set -vx
to print each script command before execution. Sometimes
the following flags are useful, too:
set -e # terminate the script at first error
set -u # unset variables are fatal errors
Sunday, 14 April 2013
Home »
Shell Scripting
» Shell Scripting Debugging Settings










0 blogger-disqus:
Post a Comment