Line | |
---|
1 | .TH HEAD 1
|
---|
2 | .SH NAME
|
---|
3 | head \- print the first few lines of a file
|
---|
4 | .SH SYNOPSIS
|
---|
5 | \fBhead\fR [\fB\-\fIn\fR]\fR [\fIfile\fR] ...\fR
|
---|
6 | .br
|
---|
7 | .de FL
|
---|
8 | .TP
|
---|
9 | \\fB\\$1\\fR
|
---|
10 | \\$2
|
---|
11 | ..
|
---|
12 | .de EX
|
---|
13 | .TP 20
|
---|
14 | \\fB\\$1\\fR
|
---|
15 | # \\$2
|
---|
16 | ..
|
---|
17 | .SH OPTIONS
|
---|
18 | .FL "\-\fIn\fR" "How many lines to print"
|
---|
19 | .SH EXAMPLES
|
---|
20 | .EX "head \-6" "Print first 6 lines of \fIstdin\fR"
|
---|
21 | .EX "head \-1 file1 file2" "Print first line of two files"
|
---|
22 | .SH DESCRIPTION
|
---|
23 | .PP
|
---|
24 | The first few lines of one or more files are printed.
|
---|
25 | The default count is 10 lines.
|
---|
26 | The default file is \fIstdin\fR.
|
---|
27 | .SH "SEE ALSO"
|
---|
28 | .BR tail (1).
|
---|
Note:
See
TracBrowser
for help on using the repository browser.