From 0489895bb56cad1a61b15b603f9ac92001854f23 Mon Sep 17 00:00:00 2001 From: FRIGN Date: Fri, 23 Jan 2015 22:02:45 +0100 Subject: [PATCH] Add mandoc-manpage for tee(1) and mark it as done in the README, as the -i-flag has been added previously. --- README | 2 +- tee.1 | 46 +++++++++++++++++++++++++++++----------------- 2 files changed, 30 insertions(+), 18 deletions(-) diff --git a/README b/README index 81b182f..55251eb 100644 --- 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 index 297a292..81d95ed 100644 --- 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.