SUMMARY: Korn Shell Execution in verbose mode
From: Adolf, Christopher (cadolf_at_sandia.gov)
Date: 01/27/05
- Previous message: Stephen Barnett (DSL AK): "Summary: SSH hangs from cron on Solaris 9"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 26 Jan 2005 16:29:43 -0700 To: sunmanagers@sunmanagers.org
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
- Previous message: Stephen Barnett (DSL AK): "Summary: SSH hangs from cron on Solaris 9"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|