Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!hp4nl!philapd!ssp11!dolf From: dolf@idca.tds.PHILIPS.nl (Dolf Grunbauer) Newsgroups: comp.editors Subject: Re: A vi question Message-ID: <1105@ssp11.idca.tds.philips.nl> Date: 16 Aug 90 08:43:50 GMT References: <1990Aug12.194738.7902@ecn.purdue.edu> <14420003@hp-lsd.COS.HP.COM> Organization: Philips Information Systems, Apeldoorn, The Netherlands Lines: 12 In article <14420003@hp-lsd.COS.HP.COM> was@hp-lsd.COS.HP.COM (Bill Stubblebine) writes: >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 Why not: :%s/cc*oo*ss*/cos/g ? I am missing something ?