Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: Notesfiles $Revision: 1.7.0.8 $; site uiucdcs
Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!ihnp4!inuxc!pur-ee!uiucdcs!mcewan
From: mcewan@uiucdcs.CS.UIUC.EDU
Newsgroups: net.sources
Subject: Re: Printing a file backwards
Message-ID: <12600027@uiucdcs>
Date: Wed, 23-Oct-85 22:58:00 EDT
Article-I.D.: uiucdcs.12600027
Posted: Wed Oct 23 22:58:00 1985
Date-Received: Sat, 26-Oct-85 03:57:31 EDT
References: <1213@hpda.UUCP>
Lines: 18
Nf-ID: #R:hpda.UUCP:-121300:uiucdcs:12600027:000:543
Nf-From: uiucdcs.CS.UIUC.EDU!mcewan    Oct 23 21:58:00 1985


> My feed's been unreliable recently, so I hope I'm not too untimely wih this
> followup...In keeping with the UN*X philosophy of using big complicated tools
> to solve small, inconsequential problems (:->), I suggest that you do the
> following to reverse lines in a file:
> 
> 	1)  Edit the file using `vi';
> 
> 	(Complicated sequence of instructions)

It's a lot easier to type ":g/^/.m0".


			Scott McEwan
			{ihnp4,pur-ee}!uiucdcs!mcewan

"There are good guys and there are bad guys. The job of the good guys is to
 kill the bad guys."