logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

tac - concatenate and print files in reverse

Author

       Written by Jay Lepreau and David MacKenzie.

Description

       Write each FILE to standard output, last line first.

       With no FILE, or when FILE is -, read standard input.

       Mandatory arguments to long options are mandatory for short options too.

       -b, --before
              attach the separator before instead of after

       -r, --regex
              interpret the separator as a regular expression

       -s, --separator=STRING
              use STRING as the separator instead of newline

       --help display this help and exit

       --version
              output version information and exit

Name

       tac - concatenate and print files in reverse

Reporting Bugs

       GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
       Report any translation bugs to <https://translationproject.org/team/>

See Also

cat(1), rev(1)

       Full documentation <https://www.gnu.org/software/coreutils/tac>
       or available locally via: info '(coreutils) tac invocation'

GNU coreutils 9.5                                  April 2025                                             TAC(1)

Synopsis

tac [OPTION]... [FILE]...

See Also