Re: [Bug-wget] Why does wget send all messages to stderr?

2017-01-25 Thread Giuseppe Scrivano
V for Vortex  writes:

> wget sends all messages to stderr, not just errors. Why is that?

differently than what the name suggests, stderr is the destination for
diagnostic messages not only errors, while stdout is where you get the
expected output.

In the case of wget, the expected output is the file you download, for
example if you specify:

wget -O- something | some_filter..

If we were sending diagnostic messages to stdout, that would not work.

Regards,
Giuseppe



[Bug-wget] Why does wget send all messages to stderr?

2017-01-25 Thread V for Vortex
Greetings,

wget sends all messages to stderr, not just errors. Why is that?

Thanks

V.

-- 
"The surest defense against terrorism is to refuse to be terrorized."
– Bruce Schneier, cryptographer and security specialist




signature.asc
Description: OpenPGP digital signature