|
|
1.1 ! root 1: .\" Copyright (c) 1980, 1990 Regents of the University of California. ! 2: .\" All rights reserved. The Berkeley software License Agreement ! 3: .\" specifies the terms and conditions for redistribution. ! 4: .\" ! 5: .\" @(#)tail.1 6.4 (Berkeley) 6/24/90 ! 6: .\" ! 7: .TH TAIL 1 "%Q" ! 8: .UC 4 ! 9: .SH NAME ! 10: tail \- deliver the last part of a file ! 11: .SH SYNOPSIS ! 12: .B tail ! 13: [\fB+-\fP]\fBnumber\fP[\fBlbc\fP][\fBrf\fP] [\fBfile\fP] ! 14: .SH DESCRIPTION ! 15: .I Tail ! 16: copies the named file to the standard output beginning ! 17: at a designated place. ! 18: If no file is named, the standard input is used. ! 19: .PP ! 20: Copying begins at distance ! 21: .I +number ! 22: from the beginning, or ! 23: .I \-number ! 24: from the end of the input. ! 25: .I Number ! 26: is counted in units of lines, blocks or characters, ! 27: according to the appended option ! 28: .B l, ! 29: .B b ! 30: or ! 31: .B c. ! 32: When no units are specified, counting is by lines. ! 33: .PP ! 34: Specifying ! 35: .B r ! 36: causes tail to print lines from the end of the file in reverse order. ! 37: The default for ! 38: .B r ! 39: is to print the entire file this way. ! 40: Specifying ! 41: .B f ! 42: causes ! 43: .I tail ! 44: to not quit at end of file, but rather wait and try to read repeatedly ! 45: in hopes that the file will grow. ! 46: .SH "SEE ALSO" ! 47: dd(1) ! 48: .SH BUGS ! 49: Tails relative to the end of the file ! 50: are treasured up in a buffer, and thus ! 51: are limited in length. ! 52: .PP ! 53: Various kinds of anomalous behavior may happen ! 54: with character special files.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.