TAC(1)

πŸ“¦ version 1.053, in alpine 3.24

πŸ’… TAC(1) β€” the tac manual, but make it cute πŸ’…

okay so this is the User Contributed Perl Documentation page for tac, and it's literally about concatenate and print files in reverse. bestie, it's giving reverse-order realness, no cap πŸ’…


🌸 NAME 🌸

tac β€” concatenate and print files in reverse. that's the whole vibe πŸ¦‹

✨ SYNOPSIS ✨

tac [-Bbr] [-s separator] [-S bytes] [file...]

πŸ’– DESCRIPTION πŸ’–

tac copies files or standard input to standard output, but with the order of records reversed. it's the reverse girlie of the file world, okay? main character energy fr fr, iykyk 🌈

πŸŽ€ OPTIONS πŸŽ€

  • -b β€” Attach separator to the beginning of the record that it precedes in the file. πŸŽ€
  • -B β€” Read files in binary mode. πŸ’»
  • -r β€” The separator is a regular expression. πŸ”₯
  • -s STRING β€” Use STRING as record separator. Set to '' for paragraph mode. Defaults to newline. πŸ“
  • -S BYTES β€” Number of bytes to read at a time. Defaults to 8192. ✨

πŸ¦‹ NOTES πŸ¦‹

  1. -B and -S are peculiar to this implementation of tac. 🫢
  2. Regular expressions are as in Perl with some caveats: πŸ’œ
  3. /foo(bar)/ β€” Do not use capturing parenthesis. They will conflict with tac's internal use of them. 😭
  4. /foo|bar/ β€” Alternation may match out of sequence, because matches are made against chunks of files rather than whole files. Set -S to a suitably large number to avoid this. πŸ’€

πŸ‘‘ AUTHOR πŸ‘‘

The Perl implementation of tac was written by Tim Gim Yee, tim.gim.yee@gmail.com. πŸ’Œ iconic.

This program is copyright (c) Tim Gim Yee 1999. πŸ‘‘

This program is free and open software. You may use, modify, distribute, and sell this program (and any modified variants) in any way you wish, provided you do not restrict others from doing the same. 🌸


kisses bestie πŸ’– this page is from perl v5.42.2, dated 2026-02-15, and it's TAC(1) β€” slay.

πŸ“¦ where this page comes from