From: joeyh Date: Tue, 14 Mar 2006 23:08:19 +0000 (+0000) Subject: * Add pee (pipe tee) contributed by Miek Gieben. X-Git-Tag: 0.7~2 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93b625d8288ff9ec522460dac489a170ef130d8c;p=moreutils * Add pee (pipe tee) contributed by Miek Gieben. --- diff --git a/Makefile b/Makefile index a4527e0..7b96a92 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ -BINS=isutf8 ifdata +BINS=isutf8 ifdata pee PERLSCRIPTS=vidir vipe ts combine sponge -MANS=sponge.1 vidir.1 vipe.1 isutf8.1 ts.1 combine.1 ifdata.1 +MANS=sponge.1 vidir.1 vipe.1 isutf8.1 ts.1 combine.1 ifdata.1 pee.1 CFLAGS=-O2 -g -Wall all: $(BINS) $(MANS) @@ -20,10 +20,13 @@ check: isutf8 ./check-isutf8 isutf8.1: isutf8.docbook - docbook2x-man isutf8.docbook + docbook2x-man $< ifdata.1: ifdata.docbook - docbook2x-man ifdata.docbook + docbook2x-man $< + +pee.1: pee.docbook + docbook2x-man $< %.1: % pod2man --center=" " --release="moreutils" $< > $@; diff --git a/README b/README index 061c31f..1f6c287 100644 --- a/README +++ b/README @@ -15,6 +15,8 @@ combine combine the lines in two files using boolean operations ifdata get network interface info without parsing ifconfig output +pee + tee standard input to pipes Your suggestions of additional tools to add to this collection are diff --git a/debian/changelog b/debian/changelog index f9b2baf..2831c75 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +moreutils (0.7) UNRELEASED; urgency=low + + * Add pee (pipe tee) contributed by Miek Gieben. + + -- Joey Hess Tue, 14 Mar 2006 18:07:46 -0500 + moreutils (0.6) unstable; urgency=low * Revert to perl sponge since the C one corrupts larger files. diff --git a/debian/control b/debian/control index a49a3e1..176a10e 100644 --- a/debian/control +++ b/debian/control @@ -20,3 +20,4 @@ Description: additional unix utilities - vipe: insert a text editor into a pipe - combine: combine the lines in two files using boolean operations - ifdata: get network interface info without parsing ifconfig output + - pee: tee standard input to pipes diff --git a/debian/copyright b/debian/copyright index 455e406..dba6c9e 100644 --- a/debian/copyright +++ b/debian/copyright @@ -30,6 +30,8 @@ ifdata is Copyright (C) 2002 by Benjamin BAYART, under the terms of the GPL. It was originally called ifcfg and has a web page here: http://edgard.dyn.fdn.fr/developpements/ifcfg.shtml +pee is Copyright (c) Miek Gieben, 2006, under the terms of the GPL. + Everything else is copyright 2006 by Joey Hess, under the terms of GPL. The full text of the GNU GPL can be found in /usr/share/common-licenses/GPL on Debian systems. diff --git a/pee b/pee new file mode 100755 index 0000000..b4874b7 Binary files /dev/null and b/pee differ diff --git a/pee.1 b/pee.1 new file mode 100644 index 0000000..019488f --- /dev/null +++ b/pee.1 @@ -0,0 +1,11 @@ +.TH pee 1 2006\-03\-14 +.SH NAME +pee \- tee standard input to pipes +.SH SYNOPSIS +\fBpee\fR [\fB"command"\fR\&...] +.SH DESCRIPTION +pee is like tee +but for pipes. Each command is run and standard input is +copied into it, as well as being sent to stdout. +.SH "SEE ALSO" +\fBtee\fR(1)