Depuracao de shell script

Eu sempre usei sh -x para depurar shell script, mas hoje li algo muito interessante na dicas-l. Usando set +x e set -x e possivel ligar e desligar o debug do shell script enquanto ele esta sendo executado, permitindo depurar apenas partes. Fonte: http://www.dicas-l.com.br/cantinhodoshell/cantinhodoshell_20090911.php


Posted via Perl

Advertisements
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s