SUMMARY: Korn Shell Execution in verbose mode

Adolf, Christopher cadolf at sandia.gov
Wed Jan 26 18:29:43 EST 2005


I wanted to thank everyone who offered suggestions.  Because of them I was
able to see what I needed to.

So, quick summary:

I need to parse through a script to get the exact syntax of a command it is
running.  Unfortunately the script is written with functions.

ksh -vx will give me the output processing of the scripts, but doesn't give
the output processing of the functions inside the script.  Does anyone know a
way to tell it to give that information to me as well.

Solutions:

I can place a "set -vx" internal to the functions.  This approach worked
wonderfully!
Someone also suggested there is a version of ksh made for debugging that you
can possibility get from the OS vendors.

Thanks again for everyones help!
Chris
_______________________________________________
sunmanagers mailing list
sunmanagers at sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



More information about the summaries mailing list