Francky Leyn wrote: > Hello, > > I'm seeking for some way to revert the order of lines. The first line > read thus must get out last and the last read must be output first. > > Although it's easy to write a program for it, I'm wondering if this > is not possible with the UNIX toolbox. Any ideas? > > I first tought of something like "cat -r", where the r stand for reverse. > Is this a good suggestion, or a bad one?
I bet you'll laugh :) `tac` is the command you want. In general this sort of question is well answered by `apropos reverse` thanks, Pádraig. _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils