[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] Why does wget send all messages to stderr?
From: |
Giuseppe Scrivano |
Subject: |
Re: [Bug-wget] Why does wget send all messages to stderr? |
Date: |
Wed, 25 Jan 2017 16:39:00 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
V for Vortex <address@hidden> 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