wkfu at 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 at atcmp.nl @ AT Computing b.v. Tel: 080 - 566880 Toernooiveld 6525 ED Nijmegen