I\'m writing a small shell script that needs to reverse the lines of a text file. Is there a standard filter command to do this sort of thing?
My specific applicatio
Answer is not 42 but tac.
tac
Edit: Slower but more memory consuming using sed
sed
sed 'x;1!H;$!d;x'
and even longer
perl -e'print reverse<>'