| 1 |
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.50.1. |
| 2 |
.TH TAC "1" "February 2026" "GNU coreutils 9.10" "User Commands" |
| 3 |
.SH NAME |
| 4 |
tac \- concatenate and print files in reverse |
| 5 |
.SH SYNOPSIS |
| 6 |
.B tac |
| 7 |
[\fI\,OPTION\/\fR]... [\fI\,FILE\/\fR]... |
| 8 |
.SH DESCRIPTION |
| 9 |
.\" Add any additional description here |
| 10 |
.PP |
| 11 |
Write each FILE to standard output, last line first. |
| 12 |
.PP |
| 13 |
With no FILE, or when FILE is \-, read standard input. |
| 14 |
.PP |
| 15 |
Mandatory arguments to long options are mandatory for short options too. |
| 16 |
.TP |
| 17 |
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#tac-b'\fB\-b, \-\-before\fP\X'tty: link' |
| 18 |
attach the separator before instead of after |
| 19 |
.TP |
| 20 |
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#tac-r'\fB\-r, \-\-regex\fP\X'tty: link' |
| 21 |
interpret the separator as a regular expression |
| 22 |
.TP |
| 23 |
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#tac-s'\fB\-s, \-\-separator=\,STRING\fP\X'tty: link'\/\fR |
| 24 |
use STRING as the separator instead of newline |
| 25 |
.TP |
| 26 |
\X'tty: link https://www.gnu.org/software/coreutils/tac#tac--help'\fB\-\-help\fP\X'tty: link' |
| 27 |
display this help and exit |
| 28 |
.TP |
| 29 |
\X'tty: link https://www.gnu.org/software/coreutils/tac#tac--version'\fB\-\-version\fP\X'tty: link' |
| 30 |
output version information and exit |
| 31 |
.PP |
| 32 |
Non\-seekable input is buffered to $TMPDIR, defaulting to \fI\,/tmp\/\fP. |
| 33 |
.SH AUTHOR |
| 34 |
Written by Jay Lepreau and David MacKenzie. |
| 35 |
.SH "REPORTING BUGS" |
| 36 |
Report bugs to: bug\[email protected] |
| 37 |
.br |
| 38 |
GNU coreutils home page: <https://www.gnu.org/software/coreutils/> |
| 39 |
.br |
| 40 |
General help using GNU software: <https://www.gnu.org/gethelp/> |
| 41 |
.br |
| 42 |
Report any translation bugs to <https://translationproject.org/team/> |
| 43 |
.SH "SEE ALSO" |
| 44 |
\fBcat\fP(1), \fBrev\fP(1) |
| 45 |
.PP |
| 46 |
.br |
| 47 |
Full documentation <https://www.gnu.org/software/coreutils/tac> |
| 48 |
.br |
| 49 |
or available locally via: info \(aq(coreutils) tac invocation\(aq |
| 50 |
.PP |
| 51 |
.br |
| 52 |
Packaged by Debian (9.10\-1) |
| 53 |
.br |
| 54 |
Copyright \(co 2026 Free Software Foundation, Inc. |
| 55 |
.br |
| 56 |
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. |
| 57 |
.br |
| 58 |
This is free software: you are free to change and redistribute it. |
| 59 |
.br |
| 60 |
There is NO WARRANTY, to the extent permitted by law. |