Unwanted output during update-website.sh
andersonlizardo at yahoo.com.br
Fri Sep 19 14:36:06 PDT 2003
Gerard Beekmans wrote:
> On Fri, 2003-09-19 at 14:12, Anderson Lizardo wrote:
> > BTW, do you like this kind of verbosity (on normal conditions,
> > output nothing; in case of error ouput it to the STDERR)? Or should
> > I turn off all messages?
> Yes, that'll be fine. I admit when I saw the output I didn't look
> close enough and assumed it wasn't an error, but just normal output.
I've fixed this too. Now, if some error occurs, the name of the script
and the buggy filename will be outputted, like this:
./manage_news.pl: news-2003.txt: error: unexpected end of header
This way, someone can easily identify the problem.
Desafio AntiZona: participe do jogo de perguntas e respostas que vai
dar um Renault Clio, computadores, câmeras digitais, videogames e muito
More information about the website