Verify Parameters

I have a unix script written in the korn shell. At the top of the script I call a script that exports the values of the variables I use in my script. I know that when you execute the script using ksh -x it shows you the script running. I was wondering if there was a way you could run the script but not execute the commands. I want to look and make sure that all of my variables look correct. This is probably not possible but I thought it wouldn't hurt to ask. thanks.

Not exactly sure what you want to do..

If you want to view the variables that your script receives, and they're right at the beginning of the script, then I suppose you could put echo $variableName followed by an exit or return 0 so the value is displayed and the program exits.

Or comment certain lines out by entering a hash sign (#) at the beginning of them.

Try ksh -n