[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#225004: tetex-extra: Type1 fonts should be in a separate package



Hi,

Hilmar Preusse <hille42@web.de> wrote:

>> sed -ne \
>>   's@^.*[/]\([^/]\{1,\}\)$$@& usr/X11R6/lib/X11/fonts/Type1/\1@p' \
>>   debian/tetex-extra-fonts.files > debian/yourx11fontpackage.links
>> 
>> If so, which problem?
>> 
> Perfect! Thank you!

Good. Then, I would suggest to change the "[/]" at the beginning of the
sed expression into a simple "/". The brackets should not be needed.
They are a detritus from the previous version of the expression where I
used "/" as the delimiter (s/.../.../... instead of s@...@...@...).

The expression given by Frank should perform a similar work; I suspect
you simply forgot to double the $$ for Make. The main difference that I
can see is that my expression will not output anything to
debian/yourx11fontpackage.links for input lines that don't match
'^.*[/]\([^/]\{1,\}\)$' so you won't get a broken
debian/yourx11fontpackage.links if debian/tetex-extra-fonts.files is
syntactically broken.

-- 
Florent



Reply to: