Skip to content

teepipe.1

Manvendra Bhangui edited this page Sep 4, 2022 · 1 revision

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 end 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. Exits 111 for system error and 100 for wrong usage.

Clone this wiki locally