TEE(1plan9)

πŸ’– TEE(1plan9) πŸ’–

okay bestie, welcome to section 1 of the Plan 9 manual, and today's main character is tee β€” the pipe fitting of your dreams. no cap. 🫢


✨ NAME ✨

tee β€” pipe fitting

like… it's a pipe fitting. that's the whole vibe. 🌈


✨ SYNOPSIS ✨

tee [ -i ] [ -a ] files

✨ DESCRIPTION ✨

so here's the tea, literally πŸ“: tee transcribes the standard input to the standard output and makes copies in the files. yes bestie, it does both at once. it's giving multitasking icon. πŸ’…

the options are:

  • -i β€” ignore interrupts. like, don't even perceive them. not me, not the interrupts, we're not doing that. πŸ™ˆ
  • -a β€” append the output to the files rather than rewriting them. so instead of yeeting what's already there, it just adds more. lowkey polite of it. ✨

✨ SOURCE ✨

/src/cmd/tee.c

go read the source if you want, it's right there, slay. πŸ‘‘


fr fr, that's the whole page. tee = copy stdin to stdout AND to files, -i ignores interrupts, -a appends instead of rewriting. iconic behaviour only.

and that's a wrap on TEE(1plan9), straight outta section 1 of the Plan 9 manual β€” same title, same manual, top and bottom, we love a symmetrical moment πŸŽ€πŸ’– bye bestie, go pipe something ✨

πŸ“¦ where this page comes from