reading from file bottom up

Nathan Aubrey nathan at paysonlinux.org
Fri Dec 28 09:09:24 MST 2007


On Thursday 27 December 2007 17:25:24 der.hans wrote:
> Am 27. Dec, 2007 schwätzte Nathan Aubrey so:
> > I have a text file with a list of other files in it. They are not in
> > alphabetical order, and I don't want them to be. But, I need to be able
> > to read the list from the bottom up. I tried catting the file through
> > sort -r but that puts it in reverse alphabetical order, not just reverse
> > order. Is there another way to do this?
>
> tac - cat in reverse
>
> ciao,
>
> der.hans


tac .
I love the ingenious designs of *nix.
That is great. Thanks hans.

nathan


More information about the PLUG-discuss mailing list