Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!taumet!steve From: steve@taumet.com (Stephen Clamage) Newsgroups: comp.editors Subject: Re: A vi question Message-ID: <401@taumet.com> Date: 16 Aug 90 14:59:05 GMT References: <1990Aug12.194738.7902@ecn.purdue.edu> <14420003@hp-lsd.COS.HP.COM> Organization: Taumetric Corporation, San Diego Lines: 17 was@hp-lsd.COS.HP.COM (Bill Stubblebine) writes: |> I need to do the following in vi. |> ccccoooossss -> cos |:%s/cc*/c/g |:%s/oo*/o/g |:%s/ss*/s/g This then also changes 'accent' to 'acent' 'loop' to 'lop' 'ass' to 'as'. I wonder if that is what the original poster had in mind. -- Steve Clamage, TauMetric Corp, steve@taumet.com