[plug] A question about using sed

Arie Hol arie99 at ozemail.com.au
Fri Apr 25 15:29:00 WST 2008



I am trying to clean up a batch of html files using a series of sed 
commands.

Most of the commands I have used have been successful, but I find that 
they are leaving a lot of blank lines in the html files.

I have tried using the following command to remove the blank lines :

	sed -ie "s/^\s*$//i" *.html

But the blank lines persist - and sed does not return any errors.

What am I doing wrong ?

Or have I missed something ?

TIA

Regards Arie
------------------------------------------------------------------
 For the concert of life, nobody has a program.
------------------------------------------------------------------



More information about the plug mailing list