On Tue, 30 Dec 2003 09:14:26 -0600 Andrew Gaffney
<[EMAIL PROTECTED]> wrote:
| I need to strip out the string ' width="51" height="20"' from about 50
| HTML documents. Is there a simple way to do this with a bash/sed or
| perl one-liner?

find . -name '*.html' -exec \
  sed -e 's- width="51" height="20"--g' -i.bak '{}' \;

-- 
Ciaran McCreesh
Mail:    ciaranm at gentoo.org
Web:     http://dev.gentoo.org/~ciaranm

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to