From: Ashish Nigam (ashishn@ntechra.com)
Date: Thu Jul 25 2002 - 18:49:15 EDT
Thanks to everyone who answered my question.
We can use either
#!/path/to/bash -x
or
set -vx
in the script file to debug the script.
Thanks,
Ashish
Original Posting
Hi,
To debug script, I can run the script using
bash -x <script name>
But is it possible to specify this parameter inside the script itself, so that
i get the debug data everytime I run the script and I need not run it
explicitly specifying
"bash -x"
Thanks
Ashish
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:39 EDT