[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

nvi question



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



Reply to: