On Tue, Apr 14, 2009 at 16:51, Rich Shepard <[email protected]> wrote: > On Tue, 14 Apr 2009, chris (fool) mccraw wrote: > >> ah, then you should start the debugging there. add a "set -x" to the top >> of the shell script to get verbose output of every command that runs. i >> bet you see that some variable is not being set as expected or some >> 'setup' part of things is failing and causing the script to "finish" >> early, before calling the perl script. > > Chris, > > This supposes that a variable is set sometimes and not all the time.
while that was my guess as to what's wrong, "set -x" will debug a plethora of problems. it's free--won't change the behavior of the script, just runs an x-ray on what it's doing, if you will. comparing a non-working output to a working output will almost certainly illuminate the differences in the runs. don't know that you were resisting the suggestion, but it's the clear next step in debugging this IMNSHO--it's like the doctor saying "hmm, you're constipated...we could look inside or we could scratch our heads some more because it is not normal for you to be constipated" =) _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
