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 . -type f -exec perl -spi -e 's/string1/string2/g' {} \;

will do it recursively (in your case, string2 would be empty).  Be sure to escape as 
necessary.

-- 
Barry Marler
Information Analyst II
Center for Applied Genetic Technologies
University of Georgia
Athens, GA
USA

--
[EMAIL PROTECTED] mailing list

Reply via email to