[wellylug] vi / ex question

jfouhy at paradise.net.nz jfouhy at paradise.net.nz
Tue Dec 7 15:51:43 NZDT 2004


Quoting Grant McLean <grant at mclean.net.nz>:

> On Tue, 2004-12-07 at 14:49, jfouhy at paradise.net.nz wrote:
> > 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..
> :g/^$/d

Ahh.  That's what I needed.  Thanks :-)

-- 
John.




More information about the wellylug mailing list