Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!relay.nswc.navy.mil!oasys!mimsy!mojo!mojo!djm From: djm@eng.umd.edu (David J. MacKenzie) Newsgroups: comp.editors Subject: Re: A question on .exrc while using vi Message-ID: Date: 21 Dec 90 04:47:00 GMT Sender: news@eng.umd.edu (C-News) Organization: Project GLUE, University of Maryland Lines: 10 In-Reply-To: mercer@npdiss1.StPaul.NCR.COM's message of 13 Dec 90 20:16:09 GMT In vi/ex, you can use %s/\/an/g; \< and \> are a vi/ex extension to the ed/sed regex syntax, so if you're using ed or sed you can't use them. POSIX.2 (in balloting right now but probably has another draft or two to go before it gets approved) specifies a regular expression syntax standard, so eventually there should be regex uniformity among POSIX-compliant Unix tools. I think POSIX.2 specifies both a plain and an extended syntax, but I don't have a copy of it here so I can't double-check. -- David J. MacKenzie