Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site heurikon.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!houxm!hogpc!houti!ariel!vax135!cornell!uw-beaver!tektronix!hplabs!hao!seismo!uwvax!heurikon!jeff From: jeff@heurikon.UUCP Newsgroups: net.unix Subject: How to print back-to-front Message-ID: <269@heurikon.UUCP> Date: Sat, 25-Aug-84 03:33:32 EDT Article-I.D.: heurikon.269 Posted: Sat Aug 25 03:33:32 1984 Date-Received: Thu, 30-Aug-84 06:33:56 EDT Organization: Heurikon Corp., Madison WI Lines: 13 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)