head - display first lines of a file
Head.Interface for the corresponding command signature methods.
This filter displays the first count lines or characters of each of the specified files, or of the standard input if no files are specified. If count is omitted it defaults to 10. Both line and character counts start from 1.
If more than a single file is specified, each file is preceded by a header consisting of the string
"==> XXX <==" where
"XXX" is the name of the file.
The following options are supported:
|Suppresses printing of headers when multiple files are being examined.|
The following operands are supported:
|:||The first |
|:||Pathnames of the input files to be filtered; wildcards * and ? are supported; relative paths are resolved on the basis of the current working directory.|
|:||The input files to be filtered; relative paths are not resolved (use the string paths argument to enable relative path resolving based on the current working directory).|
|:||String arguments defining the options and operands for the command. Options can be specified by acronym (with a leading dash "-") or by long name (with two leading dashes "--"). Operands other than the default "--paths" operand have to be prefixed with the operand name (e.g. "--count" for a subsequent count operand value).|
|:||Options for the head command.|
|Modifier and Type||Class and Description|
Interface defining all method signatures for the "head" command.
|Modifier and Type||Field and Description|
The "head" command name.
Copyright © 2017. All rights reserved.