On 5/19/06, Bruce Dubbs <[EMAIL PROTECTED]> wrote:
or perhaps

  '/(^\t\t*)Bitstream Vera(.*)/i\1DejaVu\3\n'

You need to match <family>Bitstream because there are other parts of
the file that match <string>Bitstream that don't have to do with the
generic names.

IIRC, -r or --regexp-extended means you don't need to \ parens.

Oh yeah.  Thanks, Bruce.  As a final fix, you don't need the explicit
\t markers.

sed -ir 's/^(.*)(<family>Bitstream
Vera)(.*)/\1<family>DejaVu\3\n\1\2\3/' /etc/fonts/fonts.conf

--
Dan
--
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