V for Vortex <[email protected]> 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

Reply via email to