home *** CD-ROM | disk | FTP | other *** search
/ Aminet 4 / Aminet 4 - November 1994.iso / aminet / dev / gcc / gcc260utilsdoc.lha / gnu / man / man1 / tail.1 < prev    next >
Encoding:
Text File  |  1994-07-26  |  3.4 KB  |  133 lines

  1.  
  2.  
  3.  
  4. TAIL(1L)          Misc. Reference Manual Pages           TAIL(1L)
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      tail - output the last part of files
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ttttaaaaiiiillll [-c [+]N[bkm]] [-n [+]N] [-fqv] [--bytes=[+]N[bkm]] [--
  13.      lines=[+]N]  [--follow] [--quiet] [--silent] [--verbose] [--
  14.      help] [--version] [file...]
  15.  
  16.      ttttaaaaiiiillll [{-,+}Nbcfklmqv] [file...]
  17.  
  18. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  19.      This manual page documents the GNU version  of  ttttaaaaiiiillll.   ttttaaaaiiiillll
  20.      prints  the  last  part  (10 lines by default) of each given
  21.      file; it reads from standard input if no files are given  or
  22.      when  a  filename  of  `-' is encountered.  If more than one
  23.      file is given, it prints a header consisting of  the  file's
  24.      name  enclosed in `==>' and `<==' before the output for each
  25.      file.
  26.  
  27.      The GNU ttttaaaaiiiillll can output any amount of data, unlike the  Unix
  28.      version,  which  uses  a  fixed  size  buffer.  It has no -_r
  29.      option (print in reverse).  Reversing a  file  is  really  a
  30.      different  job from printing the end of a file; the BSD ttttaaaaiiiillll
  31.      can only reverse files that are at  most  as  large  as  its
  32.      buffer,  which is typically 32k.  A reliable and more versa-
  33.      tile way to reverse files is the GNU ttttaaaacccc command.
  34.  
  35.   OOOOPPPPTTTTIIIIOOOONNNNSSSS
  36.      ttttaaaaiiiillll accepts two option  formats:  the  new  one,  in  which
  37.      numbers  are  arguments  to  the option letters, and the old
  38.      one, in which a `+' or `-' and optional number  precede  any
  39.      option letters.
  40.  
  41.      If a number (`N') starts with a `+',  ttttaaaaiiiillll  begins  printing
  42.      with  the  Nth  item from the start of each file, instead of
  43.      from the end.
  44.  
  45.      -_c _N, --_b_y_t_e_s _N
  46.           Tail by N bytes.  N is a  nonzero  integer,  optionally
  47.           followed  by one of the following characters to specify
  48.           a different unit.
  49.  
  50.           b    512-byte blocks.
  51.  
  52.           k    1-kilobyte blocks.
  53.  
  54.           m    1-megabyte blocks.
  55.  
  56.      -_f, --_f_o_l_l_o_w
  57.           Loop forever trying to read more characters at the  end
  58.           of  the  file, on the assumption that the file is grow-
  59.           ing.  Ignored if reading from a pipe.  If more than one
  60.  
  61.  
  62.  
  63. FSF              Last change: GNU Text Utilities                1
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. TAIL(1L)          Misc. Reference Manual Pages           TAIL(1L)
  71.  
  72.  
  73.  
  74.           file  is  given,  ttttaaaaiiiillll prints a header whenever it gets
  75.           output from a different file, to  indicate  which  file
  76.           that output is from.
  77.  
  78.      -_l, -_n _N, --_l_i_n_e_s _N
  79.           Tail by N lines.  -_l is only recognized using  the  old
  80.           option format.
  81.  
  82.      -_q, --_q_u_i_e_t, --_s_i_l_e_n_t
  83.           Never print filename headers.
  84.  
  85.      -_v, --_v_e_r_b_o_s_e
  86.           Always print filename headers.
  87.  
  88.      --_h_e_l_p
  89.           Print a usage message and exit with a non-zero status.
  90.  
  91.      --_v_e_r_s_i_o_n
  92.           Print version information on standard output then exit.
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129. FSF              Last change: GNU Text Utilities                2
  130.  
  131.  
  132.  
  133.