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