home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / editors / 3148 < prev    next >
Encoding:
Internet Message Format  |  1993-01-05  |  629 b 

  1. Path: sparky!uunet!pipex!bnr.co.uk!uknet!bcc.ac.uk!mick
  2. From: mick@dcs.bbk.ac.uk (Mick Farmer)
  3. Newsgroups: comp.editors
  4. Subject: Re: How do I search for blank lines in vi?
  5. Message-ID: <mick.726237092@picus>
  6. Date: 5 Jan 93 12:31:32 GMT
  7. References: <1ibcb4INNg3f@haydn.crhc.uiuc.edu>
  8. Distribution: inet
  9. Organization: Bloomsbury Computing Consortium
  10. Lines: 14
  11.  
  12. Hi,
  13.  
  14. Timothy asks how to do this.  Doesn't anyone learn about
  15. regular expressions any more?
  16.  
  17. Try :/^$/
  18.  
  19. which means go to the command line (:), and search for a
  20. line (/.../) containing no characters between the start of
  21. line (^) and the end of line ($). 
  22.  
  23. Regards,
  24.  
  25. Mick
  26.