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.
13
14 With no FILE, or when FILE is -, read standard input.
15
16 Mandatory arguments to long options are mandatory for short options
17 too.
18
19 -b, --before
20 attach the separator before instead of after
21
22 -r, --regex
23 interpret the separator as a regular expression
24
25 -s, --separator=STRING
26 use STRING as the separator instead of newline
27
28 --help display this help and exit
29
30 --version
31 output version information and exit
32
34 Written by Jay Lepreau and David MacKenzie.
35
37 GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
38 Report any translation bugs to <https://translationproject.org/team/>
39
41 Copyright © 2023 Free Software Foundation, Inc. License GPLv3+: GNU
42 GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
43 This is free software: you are free to change and redistribute it.
44 There is NO WARRANTY, to the extent permitted by law.
45
47 cat(1), rev(1)
48
49 Full documentation <https://www.gnu.org/software/coreutils/tac>
50 or available locally via: info '(coreutils) tac invocation'
51
52
53
54GNU coreutils 9.3 September 2023 TAC(1)