[plug] bash script debugging/tracing

Jim Householder nofixed at westnet.com.au
Sat Jun 26 17:17:34 WST 2004


I am looking for a facility in bash similar to 'echo -x' in csh which 
will display each line of a script just before it is executed and after 
all substitutions and expansions have been performed.

The Advanced Bash-Scripting Guide indicates that there is nothing built 
in to bash, other than a lot of echos, to facilitate debugging.

Any suggestions?

TIA
Jim



More information about the plug mailing list