Path: utzoo!attcan!uunet!mcvax!hp4nl!philmds!leo From: leo@philmds.UUCP (Leo de Wit) Newsgroups: comp.unix.questions Subject: Re: sorting and reversing lines of a file Keywords: sort reverse Message-ID: <937@philmds.UUCP> Date: 27 Jan 89 12:36:36 GMT References: <9056@burdvax.PRC.Unisys.COM> <936@philmds.UUCP> Reply-To: leo@philmds.UUCP (Leo de Wit) Organization: Philips I&E DTS Eindhoven Lines: 18 In article <936@philmds.UUCP> leo@philmds.UUCP (that's me) writes: |In article <9056@burdvax.PRC.Unisys.COM> lang@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.