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 tac bugs to bug-coreutils@gnu.org
37 GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
38 General help using GNU software: <http://www.gnu.org/gethelp/>
39 Report tac translation bugs to <http://translationproject.org/team/>
40
42 Copyright © 2010 Free Software Foundation, Inc. License GPLv3+: GNU
43 GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
44 This is free software: you are free to change and redistribute it.
45 There is NO WARRANTY, to the extent permitted by law.
46
48 The full documentation for tac is maintained as a Texinfo manual. If
49 the info and tac programs are properly installed at your site, the com‐
50 mand
51
52 info coreutils 'tac invocation'
53
54 should give you access to the complete manual.
55
56
57
58GNU coreutils 8.4 June 2018 TAC(1)