[OS X TeX] TeXlive 2007 and texdoc

Victor Ivrii vivrii at gmail.com
Wed Mar 28 23:43:38 EDT 2007


On 3/29/07, Martin Wilhelm Leidig <listwatch at onlinehome.de> wrote:
> Am 2007-03-29 um 04.07 schrieb Enrico Franconi:
> > On 29 Mar 2007, at 05:13, Victor Ivrii wrote:
> >> where fixcatalog is perl script:
> >>
> >> #!/usr/bin/perl -i
> >> #
> >> $old =  "../../../macros/latex/contrib/";
> >> $new = "../../../../texmf-dist/doc/latex/"
> >> while (<>){
> >>      s/$old/$new/og;
> >>              print;
> >>              }
> >
> > syntax error at /usr/local/bin/fixtexcatalog line 5, near "){"
> > syntax error at /usr/local/bin/fixtexcatalog line 8, near "}"
> > Execution of /usr/local/bin/fixtexcatalog aborted due to
> > compilation errors.
>
> The diamond operator shouldn't be enclosed in parens, afaik.


Sorry, missed   semicolon


#!/usr/bin/perl -i
#
$old =  "../../../macros/latex/contrib/";
$new = "../../../../texmf-dist/doc/latex/";
while (<>){
        s/$old/$new/og;
                print;
                }





-- 
========================
Victor Ivrii, Department of Mathematics, University of Toronto
http://www.math.toronto.edu/ivrii

------------------------- 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 MacOSX-TeX mailing list