cc: [email protected]
Subject: Re: [ast-users] [ksh93] Global `set -x' ?
--------

> th bash, `set -x' is global so users can debug a script by `bash -x
> foo.sh' and every function will be traced. But with ksh, `set -x' does not
> affect functions defined in the `function NAME' syntax which I think is not
> convenient. Seems like ksh treats `set -x' the same way as a trap.
> 
> 

With bash, what if I don't want to see the trace for functions that
I already know work ok.  How can I disable the tracing of specific
functions.

With ksh93, you can enable the tracing of individual functions with
        typeset -ft name ...
or all functions with
        .sh.fun.set() { set -x;}

David Korn
[email protected]
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to