Research V7 development
[unix-history] / usr / man / man1 / tail.1
CommitLineData
4b93b02c
KT
1.TH TAIL 1
2.SH NAME
3tail \- 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
11copies the named file to the standard output beginning
12at a designated place.
13If no file is named, the standard input is used.
14.PP
15Copying begins at distance
16.I +number
17from the beginning, or
18.I \-number
19from the end of the input.
20.I Number
21is counted in units of lines, blocks or characters,
22according to the appended option
23.B l,
24.B b
25or
26.B c.
27When no units are specified, counting is by lines.
28.SH "SEE ALSO"
29dd(1)
30.SH BUGS
31Tails relative to the end of the file
32are treasured up in a buffer, and thus
33are limited in length.
34Various kinds of anomalous behavior may happen
35with character special files.