Документ взят из кэша поисковой машины. Адрес оригинального документа : http://comet.sai.msu.ru/UNIXhelp/scrpt/scrpt2.8.html
Дата изменения: Fri Jan 17 12:43:20 1997
Дата индексирования: Mon Oct 1 23:57:13 2012
Кодировка:
Debugging shell scripts

Debugging shell scripts

To see where a script produces an error use the command:

   sh -x script argument

The -x option to the sh command tells it to print commands and their arguments as they are executed.

You can then see what stage of the script has been reached when an error occurs.


[Home] [Search] [Index]