🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.editors
Article #1317

Re: How to quote % in vi/ex ': ' escape

#1317
From: Heinz Herbeck
Date: Fri, 06 Nov 1992 16:30
26 lines
1247 bytes
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.             -
Technical Details
Message-ID: <heinz.689445001@marvin.tuwien.ac.at>
Path: arc1-ca.pugleaf.net!sparky!uunet!email!marvin.tuwien.ac.at!heinz
References: <heinz.689356033@marvin.tuwien.ac.at> <Bx97Dq.43x@sci.kun.nl>

Show Full Headers
Complete Article Headers
Newsgroups: comp.editors
Path: arc1-ca.pugleaf.net!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