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 = sync non-posix none
= tail no -c, -f = tail no -c, -f
= tar non-posix none = tar non-posix none
= tee no -i = tee yes none
test yes none test yes none
= touch no -r = touch no -r
#* tr yes none #* tr yes none

46
tee.1
View File

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