Good afternoon,

Using nvi as opposed to vim, the global command to delete all blank line is:
:g/^$/d

Would anyone happen to know how to replace all instances of two blank lines 
with a single blank line? The problem I'm running into is how to match the 
newline character. Since this is nvi, \n is not an option.

Thanks,
Craig


Sent - Gtek Web Mail



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1368651019.939711...@webmail.gtek.biz

Reply via email to