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
There is a standard command for your purpose:
tail -r file.txt
prints the lines of file.txt in reverse order!