home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / prgramer / unix / doc / head.man < prev    next >
Text File  |  1993-06-13  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4. HEAD(1L)                                                 HEAD(1L)
  5.  
  6.  
  7. NAME
  8.        head - output the first part of files
  9.  
  10. SYNOPSIS
  11.        head [-c N[bkm]] [-n N] [-qv] [--bytes=N[bkm]] [--lines=N]
  12.        [--quiet]  [--silent]  [--verbose]  [--help]   [--version]
  13.        [file...]
  14.  
  15.        head [-Nbcklmqv] [file...]
  16.  
  17. DESCRIPTION
  18.        This  manual page documents the GNU version of head.  head
  19.        prints the first part (10 lines by default) of each  given
  20.        file;  it  reads from standard input if no files are given
  21.        or when a filename of `-' is encountered.   If  more  than
  22.        one  file  is  given, it prints a header consisting of the
  23.        file's name enclosed in `==>' and `<==' before the  output
  24.        for each file.
  25.  
  26.    OPTIONS
  27.        head  accepts  two  option  formats: the new one, in which
  28.        numbers are arguments to the option letters, and  the  old
  29.        one, in which the number precedes any option letters.
  30.  
  31.        -c N, --bytes N
  32.               Print  first  N  bytes.   N  is  a nonzero integer,
  33.               optionally followed by one of the following charac-
  34.               ters to specify a different unit.
  35.  
  36.               b      512-byte blocks.
  37.  
  38.               k      1-kilobyte blocks.
  39.  
  40.               m      1-megabyte blocks.
  41.  
  42.        -l, -n N, --lines N
  43.               Print first N lines.
  44.  
  45.        -q, --quiet, --silent
  46.               Never print filename headers.
  47.  
  48.        -v, --verbose
  49.               Always print filename headers.
  50.  
  51.        --help Print a usage message and exit with a non-zero sta-
  52.               tus.
  53.  
  54.        --version
  55.               Print version information on  standard  error  then
  56.               exit.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64. FSF                     GNU Text Utilities                      1
  65.  
  66.  
  67.