5 Jan
2007
5 Jan
'07
8:43 a.m.
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