source: trunk/minix/man/man1/head.1@ 9

Last change on this file since 9 was 9, checked in by Mattia Monga, 13 years ago

Minix 3.1.2a

File size: 544 bytes
Line 
1.TH HEAD 1
2.SH NAME
3head \- 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
24The first few lines of one or more files are printed.
25The default count is 10 lines.
26The default file is \fIstdin\fR.
27.SH "SEE ALSO"
28.BR tail (1).
Note: See TracBrowser for help on using the repository browser.