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 > > tags. I tried sed -e s/\// file.html > > > file.html2, but it only deletes the first line, not the whole > > > script. The /m modifier doesn't seem to work

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 tags. I > tried sed -e s/\// 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. Can't say much on

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 > tags. I tried sed -e s/\// 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

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 tags. I >tried sed -e s/\// 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. If it only delet

A little sed

2001-01-26 Thread Hans
Three questions for the expers: - I need to clean up a bunch of html files from tags. I tried sed -e s/\// 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 to overwrite the original fil