home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 6 File
/
06-File.zip
/
headtail.zip
/
HEAD.DOC
next >
Wrap
Text File
|
1997-10-22
|
800b
|
23 lines
NAME
head - display first lines of a file
SYNOPSIS
head [/h] [/?]
head [/count] [/?] [/h] [file ...]
DESCRIPTION
This filter displays the first count lines of each of the specified
files, or of the standard input if no files are specified. If count
is omitted it defaults to 5.
Each file processed is preceded by a header that displays the
number of line displayed and the file name.
The head utility exits 0 on success, and >0 if an error occurs.
The utility will also accept input via a pipe or redirection.
When the command line is scanned for options, the scan stops at
the first '/' character. Multiple count options may be used to
change the number of lines displayed for some files.