39 lines
1.1 KiB
Groff
39 lines
1.1 KiB
Groff
|
.ie \n(.g .ds Aq \(aq
|
||
|
.el .ds Aq '
|
||
|
.TH head 1 "head 0.1.0"
|
||
|
.SH NAME
|
||
|
head \- Display first lines of a file
|
||
|
.SH SYNOPSIS
|
||
|
\fBhead\fR [\fB\-c\fR|\fB\-\-bytes\fR] [\fB\-q\fR|\fB\-\-quiet\fR] [\fB\-v\fR|\fB\-\-verbose\fR] [\fB\-n\fR|\fB\-\-lines\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] [\fIFILES\fR]
|
||
|
.SH DESCRIPTION
|
||
|
Print the first 10 lines of each FILE to standard output.
|
||
|
With more than one FILE, precede each with a header giving the file name.
|
||
|
.PP
|
||
|
With no FILE, or when FILE is \-, read standard input.
|
||
|
.SH OPTIONS
|
||
|
.TP
|
||
|
\fB\-c\fR, \fB\-\-bytes\fR
|
||
|
Count bytes instead of lines
|
||
|
.TP
|
||
|
\fB\-q\fR, \fB\-\-quiet\fR
|
||
|
Disable printing a header. Overrides \-c
|
||
|
.TP
|
||
|
\fB\-v\fR, \fB\-\-verbose\fR
|
||
|
Each file is preceded by a header consisting of the string "==> XXX <==" where "XXX" is the name of the file.
|
||
|
.TP
|
||
|
\fB\-n\fR, \fB\-\-lines\fR
|
||
|
Count n number of lines (or bytes if \-c is specified).
|
||
|
.TP
|
||
|
\fB\-h\fR, \fB\-\-help\fR
|
||
|
Print help information (use `\-h` for a summary)
|
||
|
.TP
|
||
|
\fB\-V\fR, \fB\-\-version\fR
|
||
|
Print version information
|
||
|
.TP
|
||
|
[\fIFILES\fR]
|
||
|
The input file to use
|
||
|
.SH VERSION
|
||
|
v0.1.0
|
||
|
.SH AUTHORS
|
||
|
Nathan Fisher
|