Path: utzoo!attcan!uunet!munnari.oz.au!uniwa!bilby.cs.uwa.oz.au!budgie!chris From: chris@bilby.cs.uwa.oz.au (chris mcdonald) Newsgroups: comp.editors Subject: Re: Global Empty Line Removal in vi? Message-ID: Date: 24 Jan 91 09:28:05 GMT References: <1991Jan24.064310.8077@midway.uchicago.edu> Organization: Dept. Computer Science, University of Western Australia. Lines: 18 In <1991Jan24.064310.8077@midway.uchicago.edu> zi0h@quads.uchicago.edu (W. Ishii) writes: >Hello there! As a vi novice (maybe a stronger term is called for--vi idiot, >probably), I've been stuck for about a week now trying to figure out how to >globally remove multiple blank lines from text. Filter the whole file (with !! ) through cat -s -------------------------------------------------------------------------------- Chris McDonald. _--_|\ / \ X_.--._/ v Department of Computer Science, ACSnet: chris@budgie.cs.uwa.oz.au University of Western Australia, ARPA: chris%budgie.cs.uwa.oz.au@uunet.uu.net Mounts Bay Road, FTP: bison.cs.uwa.oz.au, 130.95.1.23 Crawley, Western Australia, 6009. SCUD: (31.97 +/-10% S, 115.81 +/-10% E) PHONE: ((+61) 09) 380 2533 FAX: ((+61) 09) 382 1688