Xymon Mailing List Archive search

New Version of Admin Scripts (v.0.1.0)

list Ralph Mitchell
Fri, 5 Jan 2007 02:43:22 -0600
Message-Id: <user-181ea9ada310@xymon.invalid>

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