Path: utzoo!utgpu!cs.utexas.edu!uunet!mcsun!ukc!newcastle.ac.uk!shire!aidan From: A.C.G.Saunders@newcastle.ac.uk (Aidan Saunders) Newsgroups: alt.sources.d Subject: Re: shell pipeline to reverse the order of lines. Message-ID: <1991Feb19.132703.21495@newcastle.ac.uk> Date: 19 Feb 91 13:27:03 GMT References: <1991Feb15.164342.4552@midway.uchicago.edu> <9102151917.AA04419@wendy-fate.UU.NET> Sender: news@newcastle.ac.uk Organization: Chemical & Process Engineering Dept, University of Newcastle, UK. Lines: 20 I missed the start of this thread, but if the subject line is still relevant (:-)), how about using tail -r ie: tail -r filename or if it needs to be on the end of a pipe: ... | tail -r Works OK in SunOS 4.1 Aidan -- ---------------------------------------------- ARPA :: a.c.g.saunders@newcastle.ac.uk UUCP :: ...!ukc!newcastle.ac.uk!a.c.g.saunders ----------------------------------------------