mirror of
git://git.suckless.org/sbase
synced 2024-12-22 23:13:44 +00:00
aaac1c8800
1) "duplicate" implies that you can only specify two outputs, "multiply" is a better word describing the functionality. 2) fix other wording in the manpage 3) fix usage() 4) reorder local variables 5) fix sizeof() style 6) we need argv later, don't increment argv and rather iterate over argc. 7) Improve error messages, print the filename which the write failed to instead of printing the buffer itself (how much sense does that make, printing 1024 Bytes of garbage?). Also, give the name of the function which failed.
31 lines
418 B
Groff
31 lines
418 B
Groff
.Dd March 4, 2015
|
|
.Dt TEE 1
|
|
.Os sbase
|
|
.Sh NAME
|
|
.Nm tee
|
|
.Nd multiply stdin
|
|
.Sh SYNOPSIS
|
|
.Nm
|
|
.Op Fl ai
|
|
.Op Ar file ...
|
|
.Sh DESCRIPTION
|
|
.Nm
|
|
reads from stdin and writes to stdout and each
|
|
.Ar file .
|
|
.Sh OPTIONS
|
|
.Bl -tag -width Ds
|
|
.It Fl a
|
|
Append to each
|
|
.Ar file
|
|
instead of overwriting it.
|
|
.It Fl i
|
|
Ignore SIGINT, see
|
|
.Xr signal 7 .
|
|
.El
|
|
.Sh STANDARDS
|
|
The
|
|
.Nm
|
|
utility is compliant with the
|
|
.St -p1003.1-2008
|
|
specification.
|