


TAC(1L)                                                   TAC(1L)


NNAAMMEE
       tac - concatenate and print files in reverse

SSYYNNOOPPSSIISS
       ttaacc  [-br]  [-s separator] [--before] [--regex] [--separa-
       tor=separator] [--help] [--version] [file...]

DDEESSCCRRIIPPTTIIOONN
       This manual page documents the GNU version  of  ttaacc.   ttaacc
       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.

   OOPPTTIIOONNSS
       _-_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 output then
              exit.























FSF                     GNU Text Utilities                      1


