[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] Antwort: Re: [hobbit] New Version of Admin Scripts (v.0.1.0)



On 1/5/07, stefan.freisler (at) aspect-online.de
<stefan.freisler (at) aspect-online.de> 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