I wonder if there is a reverse version of input.
For instance, I maintenance a list of things.
list.txt
\myitem{20080103}{a}
\myitem{20090202}{b}
I could do \input{list.txt} and define \myitem in one file to generate an itemized list.
But now I want to list those in the reverse order in another file in table format. I can redefine \myitem, but is there an easy way to \input in the reverse order?
i.e.
\myitem{20090202}{b}
\myitem{20080103}{a}


tac <list.txt >list-reverse.txt– Heiko Oberdiek Apr 21 '14 at 20:52