1 .\" You may copy, distribute and modify under the terms of the LDP General
2 .\" Public License as specified in the LICENSE file that comes with the
3 .\" gnumaniak distribution
5 .\" The author kindly requests that no comments regarding the "better"
6 .\" suitability or up-to-date notices of any info documentation alternative
7 .\" is added without contacting him first.
9 .\" (C) 2002 Ragnar Hojland Espinosa <ragnar@ragnar-hojland.com>
12 .\" man pages are NOT obsolete!
13 .\" <ragnar@ragnar-hojland.com>
14 .TH TAC 1 "7 October 2002" "GNU textutils 2.1"
16 \fBtac\fR \- concatenate and write files in reverse
19 .RB [ \-br "] [" "\-s \fISEPARATOR\fR" "] [" \-\-before "] [" \-\-regex ]
22 .BR tac " [" \-\-help "] [" \-\-version ]
27 to standard output, reversing the records (lines by default). If
31 standard input is used.
33 Records are separated by instances of a string (newline by default). By
34 default, this separator string is attached to the end of the record that
35 it follows in the file.
37 Under DOS platforms \fBtac\fR reads files in binary mode. See \fBcat\fR(1)
42 The separator is attached to the beginning of the record that it
46 Treat the separator string as a regular expression.
48 .BI "\-s " SEPARATOR ", \-\-separator=" SEPARATOR
51 as the record separator, instead of a newline.
54 Print a usage message on standard output and exit successfully.
57 Print version information on standard output then exit successfully.
59 Report bugs to bug-textutils@gnu.org.
61 Man page by Ragnar Hojland Espinosa <ragnar@ragnar-hojland.com>