home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / utility / fn32_13.zip / TAC.DOC < prev    next >
Text File  |  1992-09-13  |  819b  |  19 lines

  1. Usage: tac
  2.    [-br] [-s separator] [+before] [+regex] [+separator separator] [FILE...]
  3.  
  4.    Copy each FILE, or the standard input if none are given or when a
  5.    FILE name of '-' is encountered, to the standard output with the
  6.    order of the records reversed.  The records are separated by
  7.    instances of a string, or a newline if none is given.  By default, the
  8.    separator string is attached to the end of the record that it
  9.    follows in the FILE.
  10.  
  11.    Options:
  12.    -b, +before              The separator is attached to the beginning
  13.                             of the record that it precedes in the FILE.
  14.    -r, +regex               The separator is a regular expression.
  15.    -s, +separator separator Use SEPARATOR as the record separator.
  16.  
  17.    To reverse a FILE byte by byte, use:
  18.     tac -r -s . FILE
  19.