Commit | Line | Data |
---|---|---|
4b93b02c KT |
1 | .TH TAIL 1 |
2 | .SH NAME | |
3 | tail \- deliver the last part of a file | |
4 | .SH SYNOPSIS | |
5 | .B tail | |
6 | .if t [ \(+-number[\fBlbc\fR] ] | |
7 | .if n +\b_number[lbc\b\b\b___] | |
8 | [ file ] | |
9 | .SH DESCRIPTION | |
10 | .I Tail | |
11 | copies the named file to the standard output beginning | |
12 | at a designated place. | |
13 | If no file is named, the standard input is used. | |
14 | .PP | |
15 | Copying begins at distance | |
16 | .I +number | |
17 | from the beginning, or | |
18 | .I \-number | |
19 | from the end of the input. | |
20 | .I Number | |
21 | is counted in units of lines, blocks or characters, | |
22 | according to the appended option | |
23 | .B l, | |
24 | .B b | |
25 | or | |
26 | .B c. | |
27 | When no units are specified, counting is by lines. | |
28 | .SH "SEE ALSO" | |
29 | dd(1) | |
30 | .SH BUGS | |
31 | Tails relative to the end of the file | |
32 | are treasured up in a buffer, and thus | |
33 | are limited in length. | |
34 | Various kinds of anomalous behavior may happen | |
35 | with character special files. |