Return to BSD News archive
Received: by minnie.vk1xwt.ampr.org with NNTP id AA2067 ; Thu, 25 Feb 93 10:10:29 EST Path: sserve!manuel.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!usenet.ins.cwru.edu!ljo From: ljo@r2d2.eeap.cwru.edu (L Jonas Olsson) Newsgroups: comp.os.386bsd.bugs Subject: elvis bug Date: 24 Feb 1993 03:48:17 GMT Organization: Case Western Reserve Univ. Cleveland, Ohio (USA) Lines: 13 Message-ID: <1mer61INNl7@usenet.INS.CWRU.Edu> NNTP-Posting-Host: proteus.eeap.cwru.edu I think I've found a bug or incompatibility in the substitution command in elvis (ex part of elvis). The problems is that "s;pat;repl;" doesn't work, only the "s/pat/repl/" syntax works. The first syntax is useful when pat and/or repl contains /'s, e.g. "s;/usr/lib/sendmail;/usr/sbin/sendmail;". I have not found any documentation that this syntax should work, but it does work on other ex, e.g. SUN, DEC, and SGI, and it is used in at least one package's configure script. Jonas Olsson ljo@po.cwru.edu