-
-
Notifications
You must be signed in to change notification settings - Fork 3
teepipe.1
Manvendra Bhangui edited this page Sep 4, 2022
·
1 revision
teepipe - copy stdin to a program and stdout
teepipe program [ args ... ]
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.
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.