On 1/5/07, user-75055581652a@xymon.invalid
<user-75055581652a@xymon.invalid> wrote:
Hi,
what do this command i never heard about "set -x" should i inklude it on all
scripts or is this only solution for this problem?
"set -x" is useful for debugging shell scripts. It tells the shell to
print out everything it does, so you probably *don't* want to include
it normally. "set +x" turns debugging off again. So, when part of a
script misbehaves you can bracket it with "set -x" & "set +x" to see
what's actually happening.
Ralph Mitchell