sed is broken under freebsd?

Paul A. Procacci pprocacci at datapipe.com
Thu Jan 13 20:19:15 UTC 2011


On Thu, Jan 13, 2011 at 02:45:07PM -0500, Alban Hertroys wrote:
> 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!
>
>
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"

It was just an experiement.

~Paul

This message may contain confidential or privileged information.  If you are not the intended recipient, please advise us immediately and delete this message.  See http://www.datapipe.com/about-us-legal-email-disclaimer.htm for further information on confidentiality and the risks of non-secure electronic communication. If you cannot access these links, please notify us by reply message and we will send the contents to you.


More information about the freebsd-stable mailing list