


TAC(1L)                                                   TAC(1L)


NNAAMMEE
       tac - concatenate and print files in reverse

SSYYNNOOPPSSIISS
       ttaacc  [-br]  [-s separator] [--before] [--regex] [--separa-
       tor=separator] [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.

       The long-named options can be introduced with `+' as  well
       as  `--', for compatibility with previous releases.  Even-
       tually support for `+' will  be  removed,  because  it  is
       incompatible with the POSIX.2 standard.

























                                                                1


