SUMMARY: Korn Shell Execution in verbose mode

From: Adolf, Christopher (cadolf@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



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:30:04 EDT