Commit | Line | Data |
---|---|---|
362b077f C |
1 | |
2 | ||
3 | ||
4 | TAIL(1) UNIX Programmer's Manual TAIL(1) | |
5 | ||
6 | ||
7 | ||
8 | N\bNA\bAM\bME\bE | |
9 | tail - deliver the last part of a file | |
10 | ||
11 | S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS | |
12 | t\bta\bai\bil\bl [+\b+-\b-]n\bnu\bum\bmb\bbe\ber\br[l\blb\bbc\bc][r\brf\bf] [f\bfi\bil\ble\be] | |
13 | ||
14 | D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN | |
15 | _\bT_\ba_\bi_\bl copies the named file to the standard output beginning | |
16 | at a designated place. If no file is named, the standard | |
17 | input is used. | |
18 | ||
19 | Copying begins at distance +_\bn_\bu_\bm_\bb_\be_\br from the beginning, or | |
20 | -_\bn_\bu_\bm_\bb_\be_\br from the end of the input. _\bN_\bu_\bm_\bb_\be_\br is counted in | |
21 | units of lines, blocks or characters, according to the | |
22 | appended option l\bl,\b, b\bb or c\bc.\b. When no units are specified, | |
23 | counting is by lines. | |
24 | ||
25 | Specifying r\br causes tail to print lines from the end of the | |
26 | file in reverse order. The default for r\br is to print the | |
27 | entire file this way. Specifying f\bf causes _\bt_\ba_\bi_\bl to not quit | |
28 | at end of file, but rather wait and try to read repeatedly | |
29 | in hopes that the file will grow. | |
30 | ||
31 | S\bSE\bEE\bE A\bAL\bLS\bSO\bO | |
32 | dd(1) | |
33 | ||
34 | B\bBU\bUG\bGS\bS | |
35 | Tails relative to the end of the file are treasured up in a | |
36 | buffer, and thus are limited in length. | |
37 | ||
38 | Various kinds of anomalous behavior may happen with charac- | |
39 | ter special files. | |
40 | ||
41 | ||
42 | ||
43 | ||
44 | ||
45 | ||
46 | ||
47 | ||
48 | ||
49 | ||
50 | ||
51 | ||
52 | ||
53 | ||
54 | ||
55 | ||
56 | ||
57 | ||
58 | ||
59 | ||
60 | ||
61 | ||
62 | ||
63 | Printed 7/9/88 September 29, 1987 1 | |
64 | ||
65 | ||
66 |