reading from file bottom up
der.hans
PLUGd at LuftHans.com
Thu Dec 27 17:25:24 MST 2007
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
--
# https://www.LuftHans.com/ http://www.CiscoLearning.org/
# I only eat free-range vegetables that were hunted down and slain by
# a member of my immediate family. -- der.hans
More information about the PLUG-discuss
mailing list