[tex-live] texhash redirect

Br. Samuel Springuel rpspringuel at gmail.com
Fri Oct 16 23:17:43 CEST 2015

I'm writing a script which calls texhash as part of it's operation and 
I'd like to append the output of texhash to the script's logfile (whose 
path and name is stored in the variable LOGFILE).  However, when I try 
the following, nothing is added to the logfile:

texhash >> $LOGFILE 2&>1

Now, on Bash on my host system, the following does work:

texhash &>> $LOGFILE

However, the script has to be deployable on Mac OS X systems where Bash 
has not been updated to version 4 or later (the version where &>> was 
introduced, even El Capitan only comes with 3.2.57(1)).

Does anyone know how I can redirect the output as I want?
Br. Samuel, OSB
(R. Padraic Springuel)


More information about the tex-live mailing list