Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!newstop!texsun!convex!convex.convex.com!felps From: felps@convex.com (Robert Felps) Newsgroups: comp.unix.questions Subject: Re: a question in vi Message-ID: Date: 16 Oct 90 02:48:46 GMT References: <12529@chaph.usc.edu> <4159@umbc3.UMBC.EDU> Sender: news@convex.com Lines: 19 In <4159@umbc3.UMBC.EDU> rouben@math9.math.umbc.edu (Rouben Rostamian) writes: >In article <12529@chaph.usc.edu> wkfu@alcor.usc.edu (Wilson Fu) writes: >>I want to do is to search a certain >>string, then delete those lines containing that string. >Here it is: >:g/string/d Ah, yes, the new command "gred"! >Rouben Rostamian Telephone: (301) 455-2458 Useless comment, Robert Felps felps@convex.com Convex Computer Corp OS System Specialist 3000 Waterview Parkway Tech. Assistant Ctr Richardson, Tx. 75083 1(800) 952-0379