TAC(1)
π TAC(1) β the reverse-girlie manual page
okay so you're in section User Commands of the manual and the whole page is about tac β which is literally cat spelled backwards. bestie, the naming committee ate that day and they knew it. π±β¨
β¨ NAME β¨
tac β concatenate and print files in reverse π¦
β¨ SYNOPSIS β¨
tac [OPTION]... [FILE]...
β¨ DESCRIPTION β¨
So here's the vibe: tac writes each FILE to standard output, but it does it last line first. That's it. That's the whole personality. It's giving "read my diary but from the end so it hits different." π₯
If you hand it no FILE at all, or if a FILE is literally just -, it reads from standard input. Yes, the classic - move. icon behavior, no notes. π
ok real talk for a sec: mandatory arguments to long options are mandatory for short options too. Translation β if a long option needs a value, its short twin needs that same value. Don't skip it, bestie, it won't guess. π
-b,--beforeβ attaches the separator before the thing instead of after it π-r,--regexβ treats the separator as a regular expression (yes, fr fr, regex in your reverse-file tool, we love range) β-s,--separator=*STRING*β uses STRING as the separator instead of the newline πΈ--helpβ prints this help and dips out π--versionβ outputs version info and dips out π
And one (1) lore drop you need in your notes app: non-seekable input is buffered to $TMPDIR, defaulting to /tmp. So yeah, if your input is the kind of thing you can't scrub back and forth through, it's gonna camp out in your temp dir first. iykyk. ποΈπ
β¨ AUTHOR β¨
Written by Jay Lepreau and David MacKenzie. legends, honestly. π«Ά
β¨ REPORTING BUGS β¨
Found a lil glitch? Don't suffer in silence, tell the girlies:
- Report bugs to:
bug-coreutils@gnu.orgπ - GNU coreutils home page: <https://www.gnu.org/software/coreutils/>
- General help using GNU software: <https://www.gnu.org/gethelp/>
- Report any translation bugs to: <https://translationproject.org/team/>
β¨ SEE ALSO β¨
cat(1)β the OG, the forwards one, the prequel πrev(1)β reverses characters, not lines. different girl, same energy π
Full documentation <https://www.gnu.org/software/coreutils/tac> or available locally via: info '(coreutils) tac invocation'
Packaged by Ubuntu (9.10-1ubuntu2) π Copyright Β© 2026 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
and that's the page, bestie!! GNU coreutils 9.10, August 2026, shipped as TAC(1) in section 1. now go print something backwards and feel something. mwah. ππβ¨
π¦ where this page comes from
- ubuntu stonking: gnu-coreutils 9.10-1ubuntu2 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms