home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / vol_100 / 164_01 / tail.doc < prev    next >
Text File  |  1984-09-03  |  1KB  |  41 lines

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