2025-03-14 21:59:59 -06:00
|
|
|
# pee
|
|
|
|
|
|
|
|
|
|
> Tee `stdin` to pipes.
|
|
|
|
|
> See also: `tee`.
|
2025-05-08 12:26:01 -06:00
|
|
|
> More information: <https://manned.org/pee>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Run each command, providing each one with a distinct copy of `stdin`:
|
|
|
|
|
|
|
|
|
|
`pee {{command1 command2 ...}}`
|
|
|
|
|
|
|
|
|
|
- Write a copy of `stdin` to `stdout` (like `tee`):
|
|
|
|
|
|
|
|
|
|
`pee cat {{command1 command2 ...}}`
|
|
|
|
|
|
|
|
|
|
- Immediately terminate upon SIGPIPEs and write errors:
|
|
|
|
|
|
|
|
|
|
`pee --no-ignore-sigpipe --no-ignore-write-errors {{command1 command2 ...}}`
|