remove blank lines in vi

to remove blank lines in vi:

[code]:v/\S/d [/code]

Posted in: vi

Leave a Reply

Your email address will not be published. Required fields are marked *