FENIX_coreutils/head.1
2020-12-01 20:31:04 -06:00

36 lines
796 B
Groff
Executable file

.TH HEAD 1
.SH HEAD
head \- copy the first part of files
.SH SYNOPSIS
.B head
[\fB\-n\fR \fInumber\fR]
.IR "file" ...
.SH DESCRIPTION
.B head
copies input files to the standard output, ending at a designated point.
.PP
Copying ends at the the point indicated by the \fB\-n\fR option.
If \fB\-n\fR is omitted, \fBhead\fR will default to 10.
.SH OPTIONS
.TP
.BR \-n " " \fInumber\fR
Specifies the number of lines to copy to standard output.
.SH EXAMPLES
An example example:
.PP
.nf
.RS
head -- *
.RE
.fi
.PP
Copies the first ten lines of all files to standard output.
.SH AUTHOR
Written by Kat.
.SH COPYRIGHT
Copyright (C) 2019 The FENIX Project
.PP
This software is free software. Feel free to modify it and/or pass
it around.
.PP
This \fBhead\fR implementation is a part of the fenutils package.