🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.editors
Article #1348

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

#1348
From: Chris D Iacovelli
Date: Tue, 10 Nov 1992 19:09
38 lines
1610 bytes
In article <heinz.689356033@marvin.tuwien.ac.at> heinz@marvin.tuwien.ac.at (Heinz Herbeck) writes:
>Sorry if this is in the FAQ or has been discussed here already. I can vaguely
>remember having read about this problem before, but I can't find any 
>articles about it in my archives (and I can't find the FAQ either).
>
>How can I insert a % into a ':' command in vi, without it being replaced by
>the current filename ?
>For example, I have a file test.c% in my directory, and want to read it into
>the buffer with
>
>:r test.c%
>
>or edit it with
>
>:e test.c%
>
>^V% and ^V^V% don't work.
>
>And, in the same way, how to quote # ?
>
>Any help or hint will be appreciated.
>
>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.             -

Try using the back slash, \.
This usally works for me.

Hope this helps.

C. Iacovelli
Member, Technical Staff
Telesciences CO Systems
ciacovel@telesciences.com
Technical Details
Message-ID: <1992Nov10.190930.7447@telesciences.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!zaphod.mps.ohio-state.edu!usc!rpi!scott.skidmore.edu!psinntp!psinntp!telesci!ciacovel
References: <heinz.689356033@marvin.tuwien.ac.at>

Show Full Headers
Complete Article Headers
Newsgroups: comp.editors
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!zaphod.mps.ohio-state.edu!usc!rpi!scott.skidmore.edu!psinntp!psinntp!telesci!ciacovel
From: ciacovel@telesciences.com (Chris D Iacovelli)
Subject: Re: How to quote % in vi/ex ': ' escape
Message-ID: <1992Nov10.190930.7447@telesciences.com>
Organization: TeleSciences CO Systems, Inc.
References: <heinz.689356033@marvin.tuwien.ac.at>
Date: Tue, 10 Nov 1992 19:09:30 GMT
Lines: 38