[EMAIL PROTECTED] writes: > The subject says it all. Try the -x flag to bash - it's quite useful. Strace is also good, if you don't mind sifting through a lot of information.
$ bash -x myscript.sh [...] $ strace myscript.sh | less [...] The above advice is based on the assumption you mean the sh/csh/tcsh/bash shells. My personal choice is to use perl. If perl scripts need debugging, the perl debugger (built into the perl interpreter) works great. Of course, if all your stars are aligned and you're blessed with both perl & emacs on your system, the emacs interface to the perl debugger is the best possible solution. Amen. morgan -- VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV >> M o r g a n F l e t c h e r http://www.hahaha.org/morgan << >> Tibi gratias agimus quod nihil fumas. [EMAIL PROTECTED] <<