1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-01 03:15:22 +02:00
tldr/pages/common/pee.md
Managor d2e6da7679
common*: refresh old pages part 7 (#16290)
Co-authored-by: Machiavelli <145562237+MachiavelliII@users.noreply.github.com>
2025-05-01 14:38:45 +03:00

427 B

pee

Tee stdin to pipes. See also: tee. More information: https://manned.org/pee.

  • 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 ...}}