Article View: comp.bugs.sys5
Article #210Re: Obscure Vi bug?
From: Liam R. E. Quin
Date: Thu, 02 Aug 1990 19:34
Date: Thu, 02 Aug 1990 19:34
22 lines
1197 bytes
1197 bytes
josef@nixpbe.UUCP (Moellers) writes:
>lester@ingr.com (Lester Bartel) writes:
>>I cannot seem to make the | (pipe) work in a macro.
>The problem is, that the bar (|) is a meta character "in the command
>line" [...] You can write "map a b | map c d"
>Unfortunately, there is no way of escaping the bar, like escaping the
>brackets ([]) by prefixing a backslash.
Actually, from vi,
:map g 70^V^V|
works fine. (type control-V, not ^V)
It is tricky deciding when to use \ and when to use ^V, and how many of
each to use, even if you understand the rules.
Lee
--
Liam R. E. Quin, lee@sq.com, {utai,utzoo}!sq!lee, SoftQuad Inc., Toronto
``He left her a copy of his calculations [...] Since she was a cystologist,
she might have analysed the equations, but at the moment she was occupied
with knitting a bootee.'' [John Boyd, Pollinators of Eden, 217]
Technical Details
Message-ID:
<1990Aug2.193451.158@sq.sq.com>Path:
arc1-ca.pugleaf.net!utzoo!sq!leeReferences:
<39591@sequent.UUCP> <11626@ingr.com> <josef.649521753@peun11>Show Full Headers
Complete Article Headers
Newsgroups: comp.bugs.sys5 Path: arc1-ca.pugleaf.net!utzoo!sq!lee From: lee@sq.sq.com (Liam R. E. Quin) Subject: Re: Obscure Vi bug? Message-ID: <1990Aug2.193451.158@sq.sq.com> Organization: SoftQuad Inc. References: <39591@sequent.UUCP> <11626@ingr.com> <josef.649521753@peun11> Date: Thu, 2 Aug 90 19:34:51 GMT Lines: 22