🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc
Article #26208

Re: MKS vi bug

#26208
From: Gerry Wheeler
Date: Wed, 06 Apr 1988 17:37
14 lines
1150 bytes
In article <5060020@hpccc.HP.COM>, lufkin@hpccc.HP.COM (Paul Lufkin) writes:
] I'm having trouble manipulating strings containing the pipe ( "|" ) 
] with MKS regular expressions in vi/ex and sed.
] In other implementations of UN*X ex, the command    1,$s/||/:/g
] would change all occurences of "||" to ":".
] In MKS vi I get the error message 'Badly constructed regular expression'.

I tried this out on various versions of the editor here.  It shows up in
vi versions 2.2b and earlier, but is fixed from 2.2c on. 
-- 
     Gerry Wheeler                           Phone: (519)884-2251
Mortice Kern Systems Inc.               UUCP: uunet!watmath!mks!wheels
   35 King St. North                             BIX: join mks
Waterloo, Ontario  N2J 2W9                  CompuServe: 73260,1043
Technical Details
Message-ID: <436@mks.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!mks!wheels
References: <3706@killer.UUCP> <5060020@hpccc.HP.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!mks!wheels
From: wheels@mks.UUCP (Gerry Wheeler)
Newsgroups: comp.sys.ibm.pc
Subject: Re: MKS vi bug
Summary: this bug has been fixed
Message-ID: <436@mks.UUCP>
Date: 6 Apr 88 17:37:19 GMT
References: <3706@killer.UUCP> <5060020@hpccc.HP.COM>
Organization: Mortice Kern Systems, Waterloo, Ont.
Lines: 14