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