PEE(1)
π pee(1) β like, the manual page, bestie π
okay so you opened the manual for pee (that's section 1 of the manual, the user commands girlies πΈ) and honestly? she's a baddie. tiny page, huge main character energy. let's get into it β¨
π NAME π
pee β she tees standard input to pipes. that's the whole vibe. that's her job. π
β¨ SYNOPSIS β¨
pee [--[no-]ignore-sigpipe] [--[no-]ignore-write-errors]
[["command"...]]
like yes, the double brackets are real, no I will not be explaining why, that's just how she is π«Ά
π¦ DESCRIPTION π¦
okay so picture tee, right? iconic, love her. now imagine tee but she's built for pipes. that's pee. π
every single command you hand her gets run, and each one gets fed a copy of standard input. then the output of all of those commands gets sent to stdout. everybody eats, nobody goes hungry. π
β οΈ but wait β plot twist β and this is the part people always miss: even though she's similar totee, a copy of the input is NOT sent to stdout.teedoes that.peedoes not. that's the difference, bestie, that's the whole thing.
so if you do want that copy of the input going to stdout too? just say:
pee cat ...
and now you've got it. cat is the plug. π
π OPTIONS π
--ignore-sigpipe,--no-ignore-sigpipeβ do (not) ignoreSIGPIPE. any command thatpeestarts up might cause aSIGPIPEwhen it exits. and listen β if you're gonna ignoreSIGPIPE, you probably also wanna ignore write errors (peep the next one β¬οΈ). and just so you know, ignoringSIGPIPEis the default behaviour. she comes pre-set that way, periodt. π₯--ignore-write-errors,--no-ignore-write-errorsβ do (not) ignore write errors. here's the tea: when a command thatpeestarted stops accepting data through the pipe between itself andpee, a write error happens insidepee. if that error is not ignored,peeis going to terminate all the child processes and exit. like, everybody out of the pool. π and yeah β ignoring write errors is the default behaviour. once again, chill by default. π§
π SEE ALSO π
go read those too, they're part of the friend group π«Ά
πΈ AUTHOR πΈ
Miek Gieben β thank you for your service, king π
and that's the whole page, bestie!! this lil beauty ships with moreutils and this particular version is dated 2016-12-20 β¨ go pipe something into three commands at once and feel powerful, you've earned it πππ¦
π¦ where this page comes from
- debian bookworm: moreutils 0.67-1 Β· GPL-2.0-or-later
- debian trixie: moreutils 0.69-1 Β· GPL-2.0-or-later
- nixos 26.05: moreutils 0.70
- nixpkgs unstable: moreutils 0.70
- opensuse-leap 16.0: moreutils 0.68-bp160.1.13 Β· GPL-2.0-only AND GPL-2.0-or-later AND (GPL-2.0-or-later OR MIT) AND BSD-2-Clause AND SUSE-Public-Domain
- opensuse-leap 16.0: moreutils 0.68-bp160.1.13 Β· GPL-2.0-only AND GPL-2.0-or-later AND (GPL-2.0-or-later OR MIT) AND BSD-2-Clause AND SUSE-Public-Domain
- opensuse-leap 16.0: moreutils 0.68-bp160.1.13 Β· GPL-2.0-only AND GPL-2.0-or-later AND (GPL-2.0-or-later OR MIT) AND BSD-2-Clause AND SUSE-Public-Domain
- opensuse-leap 16.0: moreutils 0.68-bp160.1.13 Β· GPL-2.0-only AND GPL-2.0-or-later AND (GPL-2.0-or-later OR MIT) AND BSD-2-Clause AND SUSE-Public-Domain
- ubuntu jammy: moreutils 0.66-1 Β· GPL-2.0-or-later
- ubuntu noble: moreutils 0.69-1 Β· GPL-2.0-or-later
- ubuntu questing: moreutils 0.69-1
- ubuntu resolute: moreutils 0.69-1build1 Β· GPL-2.0-or-later
- ubuntu stonking: moreutils 0.70-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms