e2140ec |
Jamozed |
2022-03-06 15:27:45 |
0
|
.TH HEAD 1 2022-03-06 "OMKOV coreutils" "General Commands Manual" |
998882e |
Jamozed |
2020-06-27 03:37:26 |
1
|
.SH NAME |
998882e |
Jamozed |
2020-06-27 03:37:26 |
2
|
head \(em output the first part of files |
998882e |
Jamozed |
2020-06-27 03:37:26 |
3
|
.SH SYNOPSYS |
998882e |
Jamozed |
2020-06-27 03:37:26 |
4
|
\fBhead\fR [-n \fInumber\fR] [\fIfile\fR...] |
998882e |
Jamozed |
2020-06-27 03:37:26 |
5
|
.SH DESCRIPTION |
998882e |
Jamozed |
2020-06-27 03:37:26 |
6
|
Output the first \fInumber\fR of lines from each \fIfile\fR to standard output. |
998882e |
Jamozed |
2020-06-27 03:37:26 |
7
|
If no \fInumber\fR is specified, 10 lines will be output. |
998882e |
Jamozed |
2020-06-27 03:37:26 |
8
|
.SH OPTIONS |
998882e |
Jamozed |
2020-06-27 03:37:26 |
9
|
The following options are supported: |
998882e |
Jamozed |
2020-06-27 03:37:26 |
10
|
.TP |
998882e |
Jamozed |
2020-06-27 03:37:26 |
11
|
.B -n \fInumber\fR |
998882e |
Jamozed |
2020-06-27 03:37:26 |
12
|
Number of lines to output for each \fIfile\fR. |
998882e |
Jamozed |
2020-06-27 03:37:26 |
13
|
.TP |
998882e |
Jamozed |
2020-06-27 03:37:26 |
14
|
.B --help |
998882e |
Jamozed |
2020-06-27 03:37:26 |
15
|
Display help information. |
998882e |
Jamozed |
2020-06-27 03:37:26 |
16
|
.TP |
998882e |
Jamozed |
2020-06-27 03:37:26 |
17
|
.B --version |
998882e |
Jamozed |
2020-06-27 03:37:26 |
18
|
Display version information. |
998882e |
Jamozed |
2020-06-27 03:37:26 |
19
|
.SH OPERANDS |
998882e |
Jamozed |
2020-06-27 03:37:26 |
20
|
The following operand is supported: |
998882e |
Jamozed |
2020-06-27 03:37:26 |
21
|
.TP |
998882e |
Jamozed |
2020-06-27 03:37:26 |
22
|
.I file |
998882e |
Jamozed |
2020-06-27 03:37:26 |
23
|
A pathname of an input file. If no \fIfile\fR operands are specified, or |
998882e |
Jamozed |
2020-06-27 03:37:26 |
24
|
\fIfile\fR is a '\fB-\fR', \fIhead\fR will read from standard input. |
998882e |
Jamozed |
2020-06-27 03:37:26 |
25
|
.SH EXIT STATUS |
998882e |
Jamozed |
2020-06-27 03:37:26 |
26
|
The following exit values will be returned: |
998882e |
Jamozed |
2020-06-27 03:37:26 |
27
|
.TP |
998882e |
Jamozed |
2020-06-27 03:37:26 |
28
|
\ 0 |
998882e |
Jamozed |
2020-06-27 03:37:26 |
29
|
All files were processed successfully. |
998882e |
Jamozed |
2020-06-27 03:37:26 |
30
|
.TP |
998882e |
Jamozed |
2020-06-27 03:37:26 |
31
|
>0 |
998882e |
Jamozed |
2020-06-27 03:37:26 |
32
|
An error occurred. |
998882e |
Jamozed |
2020-06-27 03:37:26 |
33
|
.SH STANDARDS |
998882e |
Jamozed |
2020-06-27 03:37:26 |
34
|
The \fIhead\fR utility is compliant with the IEEE Std 1003.2-1992 ("POSIX.2") |
998882e |
Jamozed |
2020-06-27 03:37:26 |
35
|
specification. |
998882e |
Jamozed |
2020-06-27 03:37:26 |
36
|
.SH COPYRIGHT |
998882e |
Jamozed |
2020-06-27 03:37:26 |
37
|
.nf |
998882e |
Jamozed |
2020-06-27 03:37:26 |
38
|
Copyright (C) 2020, Jakob Wakeling |
e2140ec |
Jamozed |
2022-03-06 15:27:45 |
39
|
MIT Licence (https://opensource.org/licenses/MIT) |
998882e |
Jamozed |
2020-06-27 03:37:26 |
40
|
.fi |
|
|
|
41
|
|