The font configuration section of xorg shows a sed that clobbers
Bitstream Vera fonts. While DejaVu is clearly preferred, do we want to
remove the references to Bitstream?

I've been playing around with sed and came up with this:

sed -i \
  's,\(^\t\t*\)\(<family>Bitstream Vera\)\(.*\),\1<family>DejaVu\3\n\1\2\3,' \
  fonts.conf

which produces a diff like this:

+               <family>DejaVu Serif</family>
                <family>Bitstream Vera Serif</family>

The 1st reference required a * because some of the lines began with 3
tabs instead of 2. I'm no regex master, so perhaps this can be shortened
by someone better than me (assuming the results are even desired).


-- 
Archaic

Want control, education, and security from your operating system?
Hardened Linux From Scratch
http://www.linuxfromscratch.org/hlfs

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to