Article View: comp.editors
Article #3110Re: Query-replace on VI
From: Ken Johnson
Date: Tue, 03 May 1988 17:10
Date: Tue, 03 May 1988 17:10
14 lines
912 bytes
912 bytes
>> Does anyone know if VI has the query-replace function? >2) :g/foo/s//BAR/gc ### works in ex-mode Works, but it is not a query-replace; it is a global replace. As far as I can see there is no way to do a query-replace in `vi', but if that is so it's a serious omission. -- ------------------------------------------------------------------------------ From Ken Johnson, AI Applications Institute, The University, EDINBURGH Phone 031-225 4464 ext 212 Email k.johnson@ed.ac.uk
Technical Details
Message-ID:
<393@aiva.ed.ac.uk>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!mcvax!ukc!its63b!aiva!kenReferences:
<2587@geac.UUCP> <27909@yale-celray.yale.UUCP> <86@skep2.ATT.COM>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!mcvax!ukc!its63b!aiva!ken From: ken@aiva.ed.ac.uk (Ken Johnson) Newsgroups: comp.editors Subject: Re: Query-replace on VI Message-ID: <393@aiva.ed.ac.uk> Date: 3 May 88 17:10:57 GMT References: <2587@geac.UUCP> <27909@yale-celray.yale.UUCP> <86@skep2.ATT.COM> Reply-To: ken@uk.ac.ed.aiva (Ken Johnson,E32 SB x212E) Organization: Dept. of AI, Univ. of Edinburgh, UK Lines: 14