[plug] bash script debugging/tracing

Jim Householder nofixed at westnet.com.au
Sat Jun 26 21:15:50 WST 2004


James Devenish wrote:
> 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).
> 
> 
Thanks - just what I needed.

Jim



More information about the plug mailing list