[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: stdout vs. stderr
From: |
David Kastrup |
Subject: |
Re: stdout vs. stderr |
Date: |
Sat, 25 Jun 2011 23:00:56 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Jan Nieuwenhuizen <address@hidden> writes:
> Graham Percival writes:
>
>> I think we need to go here.
>
> No. There will be no progress, warning or error messages to stdout.
stdout is usually line-buffered (like stdin), so progress messages are
not really useful.
The GNU utilities take the distinction between normal output and
diagnostics seriously enough that
ps -b
will output a complete usage info along with an error message to stderr
(because the option is wrong, and the usage info is part of the error
output) while
ps --help
will output the complete usage info to stdout (since it is the regular
output of this option).
--
David Kastrup
- stdout vs. stderr (was: Patch: small reduction in output from make doc), Graham Percival, 2011/06/25
- Re: stdout vs. stderr (was: Patch: small reduction in output from makedoc), Phil Holmes, 2011/06/25
- Re: stdout vs. stderr (was: Patch: small reduction in output from make doc), Matthias Kilian, 2011/06/25
- Re: stdout vs. stderr (was: Patch: small reduction in output from make doc), Keith OHara, 2011/06/25
- Re: stdout vs. stderr, Jan Nieuwenhuizen, 2011/06/25
- Re: stdout vs. stderr (was: Patch: small reduction in output from make doc), Benkő Pál, 2011/06/26