Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!swrinde!ucsd!ucbvax!hplabs!hpfcso!hpldola!hp-lsd!was From: was@hp-lsd.COS.HP.COM (Bill Stubblebine) Newsgroups: comp.editors Subject: Re: A vi question Message-ID: <14420003@hp-lsd.COS.HP.COM> Date: 13 Aug 90 17:18:23 GMT References: <1990Aug12.194738.7902@ecn.purdue.edu> Organization: HP Logic Systems Division - ColoSpgs, CO Lines: 8 patkar@amide.ecn.purdue.edu (The Silent Dodo) > I need to do the following in vi. > ccccoooossss -> cos :%s/cc*/c/g :%s/oo*/o/g :%s/ss*/s/g