home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 6 File / 06-File.zip / headtail.zip / HEAD.DOC next >
Text File  |  1997-10-22  |  800b  |  23 lines

  1. NAME
  2.      head - display first lines of a file
  3.  
  4. SYNOPSIS
  5.      head [/h] [/?]
  6.      head [/count] [/?] [/h] [file ...] 
  7.  
  8. DESCRIPTION
  9.      This filter displays the first count lines of each of the specified
  10.      files, or of the standard input if no files are specified.  If count
  11.      is omitted it defaults to 5.
  12.  
  13.      Each file processed is preceded by a header that displays the
  14.      number of line displayed and the file name.
  15.  
  16.      The head utility exits 0 on success, and >0 if an error occurs.
  17.         
  18.      The utility will also accept input via a pipe or redirection.
  19.  
  20.      When the command line is scanned for options, the scan stops at
  21.      the first '/' character.  Multiple count options may be used to
  22.      change the number of lines displayed for some files.      
  23.