sbase

suckless unix tools
git clone git://git.2f30.org/sbase
Log | Files | Refs | README | LICENSE

commit 0489895bb56cad1a61b15b603f9ac92001854f23
parent 4f0a813ca1407986691f63d7a93dbcd0a55e61af
Author: FRIGN <dev@frign.de>
Date:   Fri, 23 Jan 2015 22:02:45 +0100

Add mandoc-manpage for tee(1)

and mark it as done in the README,
as the -i-flag has been added previously.

Diffstat:
MREADME | 2+-
Mtee.1 | 46+++++++++++++++++++++++++++++-----------------
2 files changed, 30 insertions(+), 18 deletions(-)

diff --git a/README b/README @@ -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 diff --git a/tee.1 b/tee.1 @@ -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.