Newsgroups: comp.editors Path: utzoo!utgpu!watserv1!watcgl!mimperre From: mimperre@watcgl.waterloo.edu (Marco Imperatore) Subject: Re: VI macro problem inserting pipe Message-ID: <1990Sep14.002751.18436@watcgl.waterloo.edu> Keywords: vi macro pipe-symbol help! Organization: University of Waterloo References: <1543@hslrswi.UUCP> Date: Fri, 14 Sep 90 00:27:51 GMT Lines: 28 In article <1543@hslrswi.UUCP> barr@merak.hasler.uucp () writes: >Hi people, > I have a problem with vi in SunOs UNIX 4.0.3. I'm attempting to > include the pipe symbol in a macro, but I can't stop vi > interpreting the pipe, instead of just taking it as a simple > character. A trivial example is: > map # r| > (the simplest one to prove the point). All I want to do is to > change the text to | but vi complains to me. I've tried quotes, > backslash, swearing at the machine... all to no avail. > > Can anybody please put me out of my misery and help me out? Well, I'm not running on the same system as you but I hope the following suggestion works anyways. Here is it: map # r| Hope it works out! Cheers. -- Marco Imperatore Computer Graphics Lab, University of Waterloo, Waterloo, Ontario, Canada uucp: mimperre@watcgl -- Marco Imperatore Computer Graphics Lab, University of Waterloo, Waterloo, Ontario, Canada uucp: mimperre@watcgl