home *** CD-ROM | disk | FTP | other *** search
/ ftp.update.uu.se / ftp.update.uu.se.2014.03.zip / ftp.update.uu.se / pub / rainbow / msdos / misc / tail.lzh / TAIL.DOC next >
Text File  |  1985-11-02  |  1KB  |  35 lines

  1.  
  2.        TAIL        UNIX like Utilities    for MS-DOS 2.0       Page-  1
  3.  
  4.        TAIL ---
  5.  
  6.  
  7.        The  TAIL  utility displays the last n lines of specified  files.
  8.        The syntax is:
  9.  
  10.        TAIL -<count> <files or directories>
  11.  
  12.        As  above,  <files or directories> specifies a list of  (possibly
  13.        wild-carded)  files and directories full    of files to be    operated
  14.        upon.   The  <count> option,  if    not specified,    defaults to  10.
  15.        Otherwise  you  can specify how many of the last    lines  for  each
  16.        file  to    be displayed.    The maximum value for <count>  is  about
  17.        450.   If  a line exceeds 130 characters,  TAIL will truncate it.
  18.        If  no  <files or directories> is specified,  TAIL will    get  its
  19.        input from the keyboard (or redirected input).
  20.  
  21.        Examples:
  22.  
  23.        TAIL -3 *.lst
  24.         will  list    the  last  3 lines of  ever  file  with     a  .LST
  25.        extension in the    current    directory.
  26.  
  27.        TAIL <input
  28.         is equivalent to
  29.        TAIL input
  30.         and    will list the last 10 lines of the file    INPUT.
  31.  
  32.        TAIL -50    /temp
  33.         will  print     the  last 50 lines of every file in  the  /temp
  34.        directory.
  35.