[wellylug] vi / ex question

Grant McLean grant at mclean.net.nz
Tue Dec 7 15:05:49 NZDT 2004


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






More information about the wellylug mailing list