$manlookup

tac

(1)

concatenate and print files in reverse

User commands5 optionscoreutils 9.7-3
tac [OPTION]... [FILE]...

Options

5
-b--before

attach the separator before instead of after

-r--regex

interpret the separator as a regular expression

-s--separatorSTRING

use STRING as the separator instead of newline

--help

display this help and exit

--version

output version information and exit

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.

attach the separator before instead of after
interpret the separator as a regular expression
use STRING as the separator instead of newline
display this help and exit
output version information and exit

AUTHOR

Written by Jay Lepreau and David MacKenzie.

REPORTING BUGS

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

See also