SUMMARY: Korn Shell Execution in verbose mode

From: Adolf, Christopher <cadolf_at_sandia.gov>
Date: Wed Jan 26 2005 - 18:29:43 EST
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@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Wed Jan 26 18:30:42 2005

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:42 EST