Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site pur-ee.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!ihnp4!inuxc!pur-ee!davy From: davy@pur-ee.UUCP (Dave Curry) Newsgroups: net.sources Subject: Even shorter way to reverse lines in a file Message-ID: <3255@pur-ee.UUCP> Date: Tue, 3-Sep-85 21:16:29 EDT Article-I.D.: pur-ee.3255 Posted: Tue Sep 3 21:16:29 1985 Date-Received: Fri, 6-Sep-85 03:29:31 EDT References: <419@dcl-cs.UUCP> Reply-To: davy@pur-ee.UUCP (Dave Curry) Organization: Electrical Engineering Department , Purdue University Lines: 12 Summary: Although this is a nice program, there's a way to do it without writing any code.... $ ed file g/^/m0 w q Regular expressions is wonderful things... --Dave Curry