pee1
Tee standard input to pipes
Usage
pee [--
[no-]
ignore-sigpipe]
[--
[no-]
ignore-write-errors]
["command" ...]
Overview
pee is like tee but for pipes. Each command is run and fed a copy of the standard input. The output of all commands is sent to stdout.
Note that while this is similar to tee, a copy of the input is not sent to stdout, like tee does. If that is desired, use pee cat ...
Options
- FC
--ignore-sigpipeF[0], FC--no-ignore-sigpipeF[0] -
Do (not) ignore SIGPIPE. Any command started by
peemight cause a SIGPIPE when it exists. If you ignore SIGPIPE, you probably also want to ignore write errors (see below). Ignoring SIGPIPE is the default behaviour.
- FC
--ignore-write-errorsF[0], FC--no-ignore-write-errorsF[0] -
Do (not) ignore write errors. When a command started by
peeis no more accepting data via the pipe between itself andpee, a write error occurs inpee. If this error is not ignored,peeis going to terminate all child processes and exists. Ignoring write errors is the default behaviour.
History
- Arch Linux 2026-11-01: the text shown here
- Debian 13 (Trixie) to Debian 11 (Bullseye)
- Debian 10 (Buster)
- Debian 9 (Stretch)
- Debian 8 (Jessie)
- Debian 7 (Wheezy)
- Debian 6.0 (Squeeze)
- Debian 5.0 (Lenny)
- Debian 4.0 (Etch)
--ignore-sigpipe until Debian 13 (Trixie);
--ignore-write-errors until Debian 13 (Trixie);
--no-ignore-sigpipe until Debian 13 (Trixie);
--no-ignore-write-errors until Debian 13 (Trixie).