Newsgroups: comp.bugs.sys5 Path: 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> Date: Thu, 2 Aug 90 19:34:51 GMT Lines: 22 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]