sed is broken under freebsd?

Alban Hertroys dalroi at solfertje.student.utwente.nl
Thu Jan 13 20:05:01 UTC 2011


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!




More information about the freebsd-stable mailing list