teepipe 1
NAME
teepipe - copy stdin to a program and stdout
SYNOPSIS
teepipe program [
args ... ]
DESCRIPTION
teepipe starts a pipeline to the program named on the command line, and copies
standard input to both the pipe and to standard output.
Standard output of the executed program is redirected to standard error.
If an error occurs while writing to either the pipeline or standard
output, the other is closed and
teepipe exits.
RETURN VALUE
Exits 0 if all data from standard input was successfully copied to both
the pipe and standard output.