mtimeout.1: Use correct dash for number ranges.
[misc] / stamp.1
CommitLineData
223bbefb
MW
1.\" -*-nroff-*-
2.TH stamp 1 "11 August 2006" "Straylight/Edgeware"
3.SH NAME
4stamp \- copy files, prefixing each line with a datestamp
5.SH SYNOPSIS
6.B stamp
7.RB [ \-z ]
8.RB [ \-f
9.IR format ]
10.RI [ file ...]
11.SH DESCRIPTION
12Copies files, like
13.BR cat (1),
14except that it prefixes each line with a datestamp indicating when the
15line was recieved. The datestamp is formatted using
16.BR strftime (3),
17and can use any formatting codes permitted by that function.
18.PP
19Options available:
20.TP
21.B \-h, \-\-help
22Show a help message for
23.BR stamp .
24.TP
25.B \-v, \-\-version
26Show version number for
27.BR stamp .
28.TP
29.B \-u, \-\-usage
30Show usage message for
31.BR stamp .
32.TP
33.BI "\-f, \-\-format=" format
841e5aca 34Use
223bbefb 35.I format
841e5aca 36as the
223bbefb
MW
37.BR strftime (3)
38format string for the datestamps. Note that if the datestamp is meant
39to be separated from the rest of the line by anything, then that
40separator should be part of the format string.
41.TP
42.B \-z, \-\-utc, \-\-zulu
43Use UTC (Zulu time) instead of local time for datestamps.
44.SH BUGS
45While
46.B stamp
47ensures that its input is line-buffered only, it's possible that
48whatever is providing that input delays it arbitrarily due to its own
49buffering. There's not much to be done about this.
50.SH AUTHOR
51Mark Wooding, <mdw@distorted.org.uk>
52.SH SEE ALSO
53.BR cat (1),
54.BR strftime (3).