Add mandoc-manpage for tee(1)

and mark it as done in the README,
as the -i-flag has been added previously.
This commit is contained in:
FRIGN 2015-01-23 22:02:45 +01:00
parent 4f0a813ca1
commit 0489895bb5
2 changed files with 30 additions and 18 deletions

2
README
View File

@ -66,7 +66,7 @@ The following tools are implemented ('*' == finished, '#' == UTF-8 support,
= sync non-posix none
= tail no -c, -f
= tar non-posix none
= tee no -i
= tee yes none
test yes none
= touch no -r
#* tr yes none

46
tee.1
View File

@ -1,17 +1,29 @@
.TH TEE 1 sbase\-VERSION
.SH NAME
tee \- duplicate stdin
.SH SYNOPSIS
.B tee
.RB [ \-ai ]
.RI [ file ...]
.SH DESCRIPTION
.B tee
writes from stdin to stdout, making copies in each file.
.SH OPTIONS
.TP
.B \-a
append to each file rather than overwriting.
.TP
.B \-i
ignore SIGINT, i.e. the interrupt from keyboard signal
.Dd January 23, 2015
.Dt TEE 1 sbase\-VERSION
.Sh NAME
.Nm tee
.Nd duplicate stdin
.Sh SYNOPSIS
.Nm tee
.Op Fl ai
.Op Ar file ...
.Sh DESCRIPTION
.Nm
writes from stdin 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.