[wellylug] vi / ex question

E.Chalaron e.chalaron at xtra.co.nz
Tue Dec 7 15:01:50 NZDT 2004


How about sed ?

$ more file | sed '/ //g/' >  file_modified

make sure of the syntax.... because I am not...
E
> How can I delete every blank line in a file?  I can delete the next blank
> line by saying :/^$/d but I don't want to sit here typing that nutil
> they're all gone..




More information about the wellylug mailing list