1TAC(1) User Commands TAC(1)
2
3
4
6 tac - concatenate and print files in reverse
7
9 tac [OPTION]... [FILE]...
10
12 Write each FILE to standard output, last line first. With no FILE, or
13 when FILE is -, read standard input.
14
15 Mandatory arguments to long options are mandatory for short options
16 too.
17
18 -b, --before
19 attach the separator before instead of after
20
21 -r, --regex
22 interpret the separator as a regular expression
23
24 -s, --separator=STRING
25 use STRING as the separator instead of newline
26
27 --help display this help and exit
28
29 --version
30 output version information and exit
31
33 Written by Jay Lepreau and David MacKenzie.
34
36 Report bugs to <bug-coreutils@gnu.org>.
37
39 Copyright © 2007 Free Software Foundation, Inc.
40 This is free software. You may redistribute copies of it under the
41 terms of the GNU General Public License
42 <http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the
43 extent permitted by law.
44
46 The full documentation for tac is maintained as a Texinfo manual. If
47 the info and tac programs are properly installed at your site, the com‐
48 mand
49
50 info tac
51
52 should give you access to the complete manual.
53
54
55
56GNU coreutils 6.9 March 2008 TAC(1)