tac - print in reverse order
tac prints the files listed on its command line in reverse order to its standard output. If the magic filename "-" is encountered, tac prints its standard input up to the first EOF. Each file is printed backwards in line-by-line fashion.
With no arguments, tac prints its standard input.
tac takes no options.
tac uses the following syscalls:
tac should function properly once the basic system calls assignment is completed. However, until the file system assignment is done and the remove system call implemented, it will leave two scratch files behind per invocation.