tac - concatenate and print files in reverse
tac [-br] [-s separator] [-B] [-S bytes] [file...]
tac copies files or standard input to standard output with the order of records reversed.
Attach separator to the beginning of the record that it precedes in the file.
Read files in binary mode.
The separator is a regular expression.
Use STRING as record separator.
'' for paragraph mode.
Defaults to newline.
Number of bytes to read at a time. Defaults to 8192.
Do not use capturing parenthesis. They will conflict with tac's internal use of them.
Alternation may match out of sequence, because matches are made against chunks of files rather than whole files. Set -S to a suitably large number to avoid this.
Tim Gim Yee | email@example.com | I want a moogle stuffy!
Copyright (c) 1999 Moogle Stuffy Software. All rights reserved.
You may play with this software in accordance with the Perl Artistic License.