


TAC(1L)							TAC(1L)


NNAAMMEE
       tac - concatenate and print files in reverse

SSYYNNOOPPSSIISS
       ttaacc  [-br]  [-s separator] [--before] [--regex] [--separa-
       tor=separator] [--help] [--version] [file...]

DDEESSCCRRIIPPTTIIOONN
       This manual page documents the GNU version  of  ttaacc.   ttaacc
       copies  each given file, or the standard input if none are
       given or when a file name of `-' is  encountered,  to  the
       standard	output	with  the order of the records reversed.
       The records are separated by instances of a string,  or	a
       newline	if  none  is  given.   By  default, the separator
       string is attached to the end of the record that	it  fol-
       lows in the file.

   OOPPTTIIOONNSS
       _-_b_, _-_-_b_e_f_o_r_e
	      The  separator  is attached to the beginning of the
	      record that it precedes in the file.

       _-_r_, _-_-_r_e_g_e_x
	      The separator is a regular expression.

       _-_s_, _-_-_s_e_p_a_r_a_t_o_r _s_e_p_a_r_a_t_o_r
	      Use _s_e_p_a_r_a_t_o_r as the record separator.

       _-_-_h_e_l_p Print a usage message and exit with a non-zero sta-
	      tus.

       _-_-_v_e_r_s_i_o_n
	      Print  version  information  on standard error then
	      exit.























FSF			GNU Text Utilities			1


