home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / editors / 2712 < prev    next >
Encoding:
Internet Message Format  |  1992-11-10  |  823 b 

  1. Path: sparky!uunet!pipex!unipalm!uknet!strath-cs!memex!stephen
  2. From: stephen@memex.co.uk (Stephen Marley)
  3. Newsgroups: comp.editors
  4. Subject: Re: How to quote % in vi/ex ': ' escape
  5. Message-ID: <1992Nov6.151857.6381@memex.co.uk>
  6. Date: 6 Nov 92 15:18:57 GMT
  7. References: <Bx97Dq.43x@sci.kun.nl>
  8. Organization: Memex Information Systems Ltd., East Kilbride, Scotland
  9. Lines: 15
  10. X-Newsreader: Tin 1.1 PL4
  11.  
  12. hansm@cs.kun.nl (Hans Mulder) writes:
  13. : ObQuiz: find a situation where you need to quote a character with \^V .
  14.  
  15. What about substituting ^M for a real ctrl-M.   
  16. eg.
  17.  
  18.     :%s/\^M/\^V^M/g
  19.  
  20. This might be useful for converting macros posted in news/mail for real use.
  21. -- 
  22. Stephen Marley
  23. Memex Information Systems Ltd., East Kilbride, G75 0YN, Scotland, UK. 
  24. stephen@memex.co.uk      Tel: (03552) 33804     Fax: (03552) 39676
  25.