[net.sources] Even shorter way to reverse lines in a file

davy@pur-ee.UUCP (Dave Curry) (09/04/85)

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

gwyn@brl-tgr.ARPA (Doug Gwyn <gwyn>) (09/06/85)

How about
	$ mail slave
	I want those lines in reverse order!
	^D