3 tail \- deliver the last part of a file
7 .BR +- \fInumber\fP[ lbc ][ rf ]
30 copies the named file to the standard output beginning
31 at a designated place.
32 If no file is named, the standard input is copied.
34 Copying begins at position
36 measured from the beginning, or
38 from the end of the input.
40 is counted in lines, 1K blocks or bytes,
41 according to the appended flag
52 causes tail to print lines from the end of the file in reverse order;
56 after printing to the end, to keep watch and
57 print further data as it appears.
59 The second syntax is that promulgated by POSIX, where
62 rather than the options are signed.
66 Print the last 10 lines of a file.
69 Print a file, and continue to watch
70 data accumulate as it grows.
73 Print the first 10 lines of a file.
75 .B /sys/src/cmd/tail.c
77 Tails relative to the end of the file
78 are treasured up in a buffer, and thus
79 are limited in length.
81 According to custom, option
83 counts lines from 1, and counts
84 blocks and bytes from 0.