Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jan 2011 20:45:07 +0100
From:      Alban Hertroys <dalroi@solfertje.student.utwente.nl>
To:        Chris H <chris#@1command.com>
Cc:        freebsd-stable@freebsd.org, cliftonr@lava.net
Subject:   Re: sed is broken under freebsd?
Message-ID:  <E76031CC-3511-4896-B167-F2693A78EDA8@solfertje.student.utwente.nl>
In-Reply-To: <a3ab8ba12e7c03cac40bc4baf1829f90.HRCIM@webmail.1command.com>
References:  <AANLkTin=Jeah8UX7QB-Uk1x9VYBtnFw=nX8fptLJW%2Bs4@mail.gmail.com> <20110112070009.GB20924@lava.net> <20110112223229.GB65854@rancor.immure.com> <a3ab8ba12e7c03cac40bc4baf1829f90.HRCIM@webmail.1command.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 13 Jan 2011, at 6:10, Chris H wrote:
> FWIW On a hunch, I just performed an experimentwith sed(1)
> against gsed on 50,000 html documents. My mission; to replace all
> instances of:
> <HTML>
> <HEAD>
> 
> with:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">;
> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" dir="ltr">


I do hope you didn't orphan a </head>-tag there?

Alban Hertroys

--
If you can't see the forest for the trees,
cut the trees and you'll see there is no forest.


!DSPAM:74,4d2f565011879296619823!





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E76031CC-3511-4896-B167-F2693A78EDA8>