How to print back-to-front

jeff at heurikon.UUCP jeff at heurikon.UUCP
Sat Aug 25 17:33:32 AEST 1984


What's a good (and fast) way to print an ACSII
file from the back to the front?  I.e., I'm
looking for a command that outputs the *last*
line of a file first and the *first* line last.

A loop with 'head -$nn file | tail -1' is too
slow and messy.

Thanks in advance.
-- 
/"""\	Jeffrey Mattox, Heurikon Corp, Madison, WI
|O.O|	{harpo, hao, philabs}!seismo!uwvax!heurikon!jeff  (news & mail)
\_=_/				     ihnp4!heurikon!jeff  (mail - fast)



More information about the Comp.unix mailing list