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