🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.editors
Article #1346

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

#1346
From: Stephen Marley
Date: Fri, 06 Nov 1992 15:18
15 lines
849 bytes
hansm@cs.kun.nl (Hans Mulder) writes:
: 
: ObQuiz: find a situation where you need to quote a character with \^V .
: 

What about substituting ^M for a real ctrl-M.   
eg.

    :%s/\^M/\^V^M/g

This might be useful for converting macros posted in news/mail for real use.
-- 
Stephen Marley
Memex Information Systems Ltd., East Kilbride, G75 0YN, Scotland, UK. 
stephen@memex.co.uk	  Tel: (03552) 33804     Fax: (03552) 39676
Technical Details
Message-ID: <1992Nov6.151857.6381@memex.co.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!unipalm!uknet!strath-cs!memex!stephen
References: <Bx97Dq.43x@sci.kun.nl>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!unipalm!uknet!strath-cs!memex!stephen
From: stephen@memex.co.uk (Stephen Marley)
Newsgroups: comp.editors
Subject: Re: How to quote % in vi/ex ': ' escape
Message-ID: <1992Nov6.151857.6381@memex.co.uk>
Date: 6 Nov 92 15:18:57 GMT
References: <Bx97Dq.43x@sci.kun.nl>
Organization: Memex Information Systems Ltd., East Kilbride, Scotland
Lines: 15
X-Newsreader: Tin 1.1 PL4