in reply to Re: Better Way to Do it 2in thread Better Way to Do it 2
(The <> reads the file into a list and the reverse flips the list, which is then passed to print):
perl -e 'print reverse <>' filename [download]