🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.editors
Article #2964

Re: How do I search for blank lines in vi?

#2964
From: Mick Farmer
Date: Tue, 05 Jan 1993 12:31
14 lines
654 bytes
Hi,

Timothy asks how to do this.  Doesn't anyone learn about
regular expressions any more?

Try :/^$/

which means go to the command line (:), and search for a
line (/.../) containing no characters between the start of
line (^) and the end of line ($). 

Regards,

Mick
Technical Details
Message-ID: <mick.726237092@picus>
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!bnr.co.uk!uknet!bcc.ac.uk!mick
References: <1ibcb4INNg3f@haydn.crhc.uiuc.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!bnr.co.uk!uknet!bcc.ac.uk!mick
From: mick@dcs.bbk.ac.uk (Mick Farmer)
Newsgroups: comp.editors
Subject: Re: How do I search for blank lines in vi?
Message-ID: <mick.726237092@picus>
Date: 5 Jan 93 12:31:32 GMT
References: <1ibcb4INNg3f@haydn.crhc.uiuc.edu>
Distribution: inet
Organization: Bloomsbury Computing Consortium
Lines: 14