[OS X TeX] [OT: sed] Does not find my private texmf tree
Maarten Sneep
maarten.sneep at xs4all.nl
Wed Sep 5 13:28:30 CEST 2007
Martin Costabel schreef:
> Bruno Voisin wrote:
>
>> (taken from a recent
>> message by Maarten Sneep, and yes there's indeed a line break in the
>> command):
>>
>> kpsewhich -show-path=tex -progname=latex| sed 's/:/\
>> /g'
>
> Small remark: Instead of the sed command with the line break, which in
> addition does not work with tcsh, it is simpler to use tr,
>
> kpsewhich -show-path=tex -progname=latex| tr : '\n'
But then, who uses tcsh :p
sed on linux allows for escapes, so there you can use: sed 's/:/\n/g', but
to my surprise that didn't work on my Mac, and therefore this alternative.
tr is of course the tool meant to be used here.
Best,
Maarten
------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/
More information about the macostex-archives
mailing list