command line tool to print out the reverse of the lines in a file