home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / editors / 2680 < prev    next >
Encoding:
Text File  |  1992-11-07  |  1.2 KB  |  39 lines

  1. Newsgroups: comp.editors
  2. Path: sparky!uunet!email!marvin.tuwien.ac.at!heinz
  3. From: heinz@marvin.tuwien.ac.at (Heinz Herbeck)
  4. Subject: Re: How to quote % in vi/ex ': ' escape
  5. Message-ID: <heinz.689445001@marvin.tuwien.ac.at>
  6. Sender: news@email.tuwien.ac.at
  7. Nntp-Posting-Host: marvin.tuwien.ac.at
  8. Organization: Technical University of Vienna
  9. References: <heinz.689356033@marvin.tuwien.ac.at> <Bx97Dq.43x@sci.kun.nl>
  10. Date: Fri, 6 Nov 1992 16:30:01 GMT
  11. Lines: 26
  12.  
  13. In <Bx97Dq.43x@sci.kun.nl> hansm@cs.kun.nl (Hans Mulder) writes:
  14.  
  15. >But \% does.
  16.  
  17. Arrgh ! Not in a thousand years would I have thought of something that
  18. simple, straightforward and obvious :-)
  19.  
  20. >ObQuiz: find a situation where you need to quote a character with \^V .
  21.  
  22. :%s/$/\^V^M to add a CR at the end of each line, while :%s/$/^V^M gives
  23. you extra LFs.
  24.  
  25. Now where's my quiz price ? :-)
  26.  
  27. >Have a nice day,
  28. >Hans Mulder            hansm@cs.kun.nl
  29.  
  30. Thanks for your help (and to all others who responded),
  31.  
  32. MfG
  33. HH
  34.  
  35. -- 
  36. - Heinz M. HERBECK       heinz@marvin.tuwien.ac.at       Tel. +43 1 58801-4107 -
  37. - Technical University of Vienna, Austria  //  Institute for Computer Graphics -
  38. - Hardware, n. : The part of a computer system that can be kicked.             -
  39.