lilypond-devel
[Top][All Lists]
Advanced

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]