[tex-live] Why does texhash write expected output to STDERR?
Dan Luecking
dluecking at sbcglobal.net
Mon Jul 1 00:07:16 CEST 2013
On Jun 30, 2013, at 00:40 CEST, Karl Berry
<mailto:tex-live%40tug.org?Subject=Re%3A%20%5Btex-live%5D%20Why%20does%20texhash%20write%20expected%20output%20to%20STDERR%3F&In-Reply-To=%3C201306292240.r5TMeTNq019647%40freefriends.org%3E>karl
at freefriends.org wrote:
>On Jun 29, 2013, at 10:42 CEST Scott Kostyshak
><mailto:tex-live%40tug.org?Subject=Re%3A%20%5Btex-live%5D%20Why%20does%20texhash%20write%20expected%20output%20to%20STDERR%3F&In-Reply-To=%3CCAO7dr0iQPOZn6_dtgE4Jm%2BvjkA1gJFeVkVin%2BqRidDYtcTxcOA%40mail.gmail.com%3E>skostysh
>at lyx.org wrote:
> ># texhash > /dev/null
> >texhash: Updating /usr/local/texlive/2013/texmf-config/ls-R...
> >texhash: Updating /usr/local/texlive/2013/texmf-dist/ls-R...
> >texhash: Updating /usr/local/texlive/2013/../texmf-local/ls-R...
> >texhash: Updating /usr/local/texlive/2013/texmf-var/ls-R...
> >texhash: Done.
> >#
>
> > Is there a reason for writing this output to STDERR?
>
>I suspect it's because the feedback was desired even when the installer
>had redirected stdout. Clearly this is not an especially ideal way to
>handle the situtation. I'll poke around a bit and see about changing
>it.
Dvips has the same behavior (at least it always has in my
systems, starting with DOS, then Windows 95, 98, XP, and 7).
Dan
Daniel H. Luecking
Department of Mathematical Sciences
Fayetteville, Arkansas
http://www-cs-faculty.stanford.edu/~knuth/iaq.html
More information about the tex-live
mailing list