mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 03:22:08 +02:00

* lckdo, mispipe, pee, vidir, vipe, zrun: add pages * Apply suggestions from code review Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com> * fix errors * flock: move page --------- Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>
17 lines
439 B
Markdown
17 lines
439 B
Markdown
# pee
|
|
|
|
> Tee `stdin` to pipes.
|
|
> See also: `tee`.
|
|
> More information: <https://joeyh.name/code/moreutils/>.
|
|
|
|
- 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 ...}}`
|