home *** CD-ROM | disk | FTP | other *** search
- Path: 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
-
- 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
-