[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: stdout vs. stderr (was: Patch: small reduction in output from make d
From: |
Reinhold Kainhofer |
Subject: |
Re: stdout vs. stderr (was: Patch: small reduction in output from make doc) |
Date: |
Sat, 25 Jun 2011 21:53:54 +0200 |
User-agent: |
KMail/1.13.6 (Linux/2.6.38-8-generic; KDE/4.6.4; i686; ; ) |
Am Samstag, 25. Juni 2011, 20:09:50 schrieb Matthias Kilian:
> On Sat, Jun 25, 2011 at 05:27:03PM +0100, Graham Percival wrote:
> > 1. what's the official unix definition of STDERR vs. STDOUT?
>
> Quoting the standard:
>
> 3.358 Standard Error
> An output stream usually intended to be used for diagnostic messages.
> [...]
>
> 3.360 Standard Output
> An output stream usually intended to be used for primary data output.
>
> Of course, this definition is meant for typical unix command line
> tools, where you want to pipe the output of one program as input
> into another program and still see "diagnostic messages" from the
> first program. Lilypond is a little bit different.
Many GNU applications work like that. On the other hand "tar -v" print the
processed filenames to stdout (not to stderr!).
(la|pdf|)tex on the other hand prints everything to stderr, so as a user you
have no other choice than either silencing tex altogether (i.e. using
batchmode) or having the whole excessive output on the console...
There is no way (at least none that I'm aware of) to separate the warning
messages of latex from the excessive debug output about including file X and
file Y and graphics Z etc....
Cheers,
Reinhold
--
------------------------------------------------------------------
Reinhold Kainhofer, address@hidden, http://reinhold.kainhofer.com/
* Financial & Actuarial Math., Vienna Univ. of Technology, Austria
* http://www.fam.tuwien.ac.at/, DVR: 0005886
* LilyPond, Music typesetting, http://www.lilypond.org
- 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),
Reinhold Kainhofer <=
- 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