Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!udel!burdvax!lang
From: lang@PRC.Unisys.COM (Francois-Michel Lang)
Newsgroups: comp.unix.questions
Subject: Re: Reversing a file?
Message-ID: <11628@burdvax.PRC.Unisys.COM>
Date: 3 Oct 89 13:51:18 GMT
References:
Sender: news@PRC.Unisys.COM
Organization: Unisys Corporation, Paoli Research Center; Paoli, PA
Lines: 16
In article (Skip Montanaro) writes:
>Does somebody have an elegant shell script for reversing the lines of a
>file? I've come up with the following short one:
No need to write a script.
tail -r does this already.
----------------------------------------------------------------------------
Francois-Michel Lang
Paoli Research Center, Unisys lang@prc.unisys.com (215) 648-7256
Dept of Comp & Info Science, U of PA lang@linc.cis.upenn.edu (215) 898-9511
----------------------------------------------------------------------------
Francois-Michel Lang
Paoli Research Center, Unisys lang@prc.unisys.com (215) 648-7256
Dept of Comp & Info Science, U of PA lang@linc.cis.upenn.edu (215) 898-9511