[plug] bash script debugging/tracing

James Devenish devenish at guild.uwa.edu.au
Sat Jun 26 17:20:04 WST 2004

In message <40DD3F2E.3060808 at westnet.com.au>
on Sat, Jun 26, 2004 at 05:17:34PM +0800, Jim Householder wrote:
> 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.

Have a look at the `set` command (esp. set -x, for example).

More information about the plug mailing list