"Eddy Thilleman" <[EMAIL PROTECTED]> writes:

> Wget sends its output to standard error. Why is that?

"It seemed like a good idea."

The rationale behind it is that Wget's "output" is not real output,
more a progress indication thingie.  The real output is when you
specify `-O -', and that goes to stdout.

Francois Pinard once suggested that Wget prints its progress output to
stdout, except when `-O -' is specified, when progress should go to
stderr.  This is a bit harder to document, but is much better at
meeting the users' expectations and not violating the Principle of
Least Surprise.

Reply via email to