Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!uunet!mcsun!hp4nl!sci.kun.nl!atcmpe!ronald From: ronald@atcmp.nl (Ronald Pikkert) Newsgroups: comp.unix.questions Subject: Re: a question in vi Message-ID: <673@atcmpe.atcmp.nl> Date: 16 Oct 90 19:36:50 GMT References: <12529@chaph.usc.edu> Organization: AT Computing, Nijmegen, The Netherlands Lines: 15 wkfu@alcor.usc.edu (Wilson Fu): > Does anyone know how to delete lines containing a certain ^^^^^^ > string in a file? You should after reading the vi/ex manual but try: :g/string/d - Ronald Pikkert E-mail: ronald@atcmp.nl @ AT Computing b.v. Tel: 080 - 566880 Toernooiveld 6525 ED Nijmegen