sorting and reversing lines of a file

Leo de Wit leo at philmds.UUCP
Fri Jan 27 22:36:36 AEST 1989


In article <936 at philmds.UUCP> leo at philmds.UUCP (that's me) writes:
|In article <9056 at burdvax.PRC.Unisys.COM> lang at pearl.PRC.Unisys.COM (Francois-Michel Lang) writes:
||
||I need utilities to do two things:
||(1) reverse the order of lines in a file
|
|tail -r f

If the intention was to SORT the lines reversed (this is not clear,
even from the example), this should be

sort -r f

   []
|Sorry about tail -f (8-).
Of course I meant tail -r here.

                 Leo.



More information about the Comp.unix.questions mailing list