home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.editors
- Path: sparky!uunet!email!marvin.tuwien.ac.at!heinz
- From: heinz@marvin.tuwien.ac.at (Heinz Herbeck)
- Subject: Re: How to quote % in vi/ex ': ' escape
- Message-ID: <heinz.689445001@marvin.tuwien.ac.at>
- Sender: news@email.tuwien.ac.at
- Nntp-Posting-Host: marvin.tuwien.ac.at
- Organization: Technical University of Vienna
- References: <heinz.689356033@marvin.tuwien.ac.at> <Bx97Dq.43x@sci.kun.nl>
- Date: Fri, 6 Nov 1992 16:30:01 GMT
- Lines: 26
-
- In <Bx97Dq.43x@sci.kun.nl> hansm@cs.kun.nl (Hans Mulder) writes:
-
- >But \% does.
-
- Arrgh ! Not in a thousand years would I have thought of something that
- simple, straightforward and obvious :-)
-
- >ObQuiz: find a situation where you need to quote a character with \^V .
-
- :%s/$/\^V^M to add a CR at the end of each line, while :%s/$/^V^M gives
- you extra LFs.
-
- Now where's my quiz price ? :-)
-
- >Have a nice day,
- >Hans Mulder hansm@cs.kun.nl
-
- Thanks for your help (and to all others who responded),
-
- MfG
- HH
-
- --
- - Heinz M. HERBECK heinz@marvin.tuwien.ac.at Tel. +43 1 58801-4107 -
- - Technical University of Vienna, Austria // Institute for Computer Graphics -
- - Hardware, n. : The part of a computer system that can be kicked. -
-