Re: A little sed

2001-01-27 Thread A+B Frank
N. Raghavendra wrote: On Fri, Jan 26, 2001 at 11:19:53AM +0100, Hans wrote: - I need to clean up a bunch of html files from SCRIPT /SCRIPT tags. I tried sed -e s/\SCRIPT.*SCRIPT\// file.html file.html2, but it only deletes the first line, not the whole script. The /m modifier

A little sed

2001-01-26 Thread Hans
Three questions for the expers: - I need to clean up a bunch of html files from SCRIPT /SCRIPT tags. I tried sed -e s/\SCRIPT.*SCRIPT\// file.html file.html2, but it only deletes the first line, not the whole script. The /m modifier doesn't seem to work. How do I go about it. - Is it possible

Re: A little sed

2001-01-26 Thread Oliver Elphick
Hans wrote: Three questions for the expers: - I need to clean up a bunch of html files from SCRIPT /SCRIPT tags. I tried sed -e s/\SCRIPT.*SCRIPT\// file.html file.html2, but it only deletes the first line, not the whole script. The /m modifier doesn't seem to work. How do I go about

Re: A little sed

2001-01-26 Thread N. Raghavendra
On Fri, Jan 26, 2001 at 11:19:53AM +0100, Hans wrote: - I need to clean up a bunch of html files from SCRIPT /SCRIPT tags. I tried sed -e s/\SCRIPT.*SCRIPT\// file.html file.html2, but it only deletes the first line, not the whole script. The /m modifier doesn't seem to work. How do I go

Re: A little sed

2001-01-26 Thread Dave Sherohman
On Fri, Jan 26, 2001 at 11:19:53AM +0100, Hans wrote: - I need to clean up a bunch of html files from SCRIPT /SCRIPT tags. I tried sed -e s/\SCRIPT.*SCRIPT\// file.html file.html2, but it only deletes the first line, not the whole script. The /m modifier doesn't seem to work. How do I go