[tex-live] updmap.cfg comments

Zdenek Wagner zdenek.wagner at gmail.com
Fri Aug 5 01:16:47 CEST 2011


2011/8/4 Karl Berry <karl at freefriends.org>:
>    Map xxx.map  # This is a comment.
>
> I'll look as soon as I have a chance.  Meanwhile, comments on their own
> lines only ...
>
Unless quoted # (such as \#) is allowed in the command, I would do the
following before examining the contents of the line:

s/^(.*?)\s*#.*$/$1/;

If it is done just after the line is read, the comment will never be
seen. In my programs I also ignore the empty lines by

next if /^\s*$/;

> k
>



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



More information about the tex-live mailing list