Commit | Line | Data |
---|---|---|
996c901e BJ |
1 | .th TRANSCRIBE VI 8/24/77 |
2 | .sh NAME | |
3 | transcribe \- copy out a file as it grows | |
4 | .sh SYNOPSIS | |
5 | .bd transcribe | |
6 | [ | |
7 | .bd \- | |
8 | ] [ | |
9 | \-interval | |
10 | ] [ | |
11 | +limit | |
12 | ] | |
13 | file | |
14 | .sh DESCRIPTION | |
15 | .it Transcribe | |
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 | .it interval | |
20 | seconds, the default | |
21 | .it interval | |
22 | is 15 seconds. | |
23 | .it Limit | |
24 | can be given to limit the total running time of the | |
25 | .it transcribe, | |
26 | the default is effectively infinite. | |
27 | .s3 | |
28 | .it Transcribe | |
29 | normally copies out all the text currently in the file | |
30 | before beginning to watch for new text. | |
31 | The option | |
32 | .bd \- | |
33 | alone causes only new material to be given. | |
34 | .s3 | |
35 | .it Transcribe | |
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 | William Joy | |
41 | .sh BUGS | |
42 | Can't handle files which are larger than 32,000 characters. |