[tex-live] Why does texhash write expected output to STDERR?

Zdenek Wagner zdenek.wagner at gmail.com
Mon Jul 1 01:08:29 CEST 2013


2013/7/1 Akira Kakuto <kakuto at fuk.kindai.ac.jp>:
> Hi Dan,
>
>
>> Dvips has the same behavior (at least it always has in my
>> systems, starting with DOS, then Windows 95, 98, XP, and 7).
>
>
> In the case of dvips, stdout is used to output the important
> PS code:
> dvips -f ... ...
> dvips -o - ... ...
>
> If you want a quiet dvips, use the -q option, or 2>nul.
>
> Best regards,
> Akira KAKUTO

Usually a program sends a valuable output to STDOUT so as it could be
passed by a pipe to another program, diagnostic output goes to STDERR.
I think that the texhash messages belong to the second class, ie
STDERR is the right place.


--
Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz



More information about the tex-live mailing list