sed -e 's/ width="51" height="20"//' < infile >outfile
ought to do it. If multiple copies appear per line, sed -e 's/ width="51" height="20"//g' < infile >outfile On Tue, 30 Dec 2003, Andrew Gaffney 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? > > -- > Andrew Gaffney > > > -- > [EMAIL PROTECTED] mailing list > -- [EMAIL PROTECTED] mailing list
