Even shorter way to reverse lines in a file
Dave Curry
davy at pur-ee.UUCP
Wed Sep 4 11:16:29 AEST 1985
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
More information about the Comp.sources.unix
mailing list