BSD 2 development
[unix-history] / man / tra.u
CommitLineData
1aa6c056
BJ
1.TH TRA UCB 2/24/79 UCB
2.SH NAME
3tra \- copy out a file as it grows
4.SH SYNOPSIS
5.B tra
6[
7.B \-
8] [
9\-interval
10] [
11+limit
12]
13file
14.SH DESCRIPTION
15.I Tra
16will copy out the contents of a file which is growing as it grows.
17It alternately copies out the new material in the file and sleeps
18for
19.I interval
20seconds, the default
21.I interval
22is 15 seconds.
23.I Limit
24can be given to limit the total running time of the
25.I tra,
26the default is effectively infinite.
27.PP
28.I Tra
29normally copies out all the text currently in the file
30before beginning to watch for new text.
31The option
32.B \-
33alone causes only new material to be given.
34.PP
35.I Tra
36is particularly useful for alternately watching the output
37file being written by a long shell script or a long-running
38program and doing real work.
39.SH AUTHOR
40Bill Joy
41.SH BUGS