David Korn:
Even simpler, is to add the line
        .sh.fun.set() { set -x;}
to your script.

The .sh.fun.set function gets invoked whenever the shell sets the name
for the current function.

That would solve the OP issue of enabling tracing inside all functions.

Any other useful discipline functions under .sh?

Cheers,
Henk
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to