recordio(1)
π recordio β General Commands Manual π
okay so bestie, this is the recordio(1) page, and itβs literally here to record the input and output of a program. iykyk π«Ά
πΈ NAME πΈ
recordio β records the input and output of a program. periodt. π
β¨ SYNOPSIS β¨
recordio prog
π DESCRIPTION π
So recordio runs prog. It prints lines to descriptor 2 showing the input and output of prog. π
At the beginning of each line on descriptor 2, recordio inserts the prog process ID, along with < for input or > for output. At the end of each line it inserts +, a space, or [EOF]; a space indicates that there was a new line in the input or output, and [EOF] indicates the end of input or output. no cap, thatβs the whole tagging system π
recordio prints every packet of input and output immediately. It does not attempt to combine packets into coherent lines. For example,
recordio sh -c 'cat /dev/fd/8 2>&1' > /dev/null
could produce
5135 > cat: /dev/fd/8: Bad file descriptor
5135 > [EOF]
or
5135 > cat: +
5135 > /dev/fd/8+
5135 > : +
5135 > Bad file descriptor
5135 > [EOF]
if the cat program prints several packets. π
recordio uses several lines for long packets to guarantee that each line is printed atomically. thatβs the atomic slay β¨
recordio runs as a child process of prog. It exits when it sees the end of prog's output. π
π SEE ALSO π
tcpserver(1)tcprules(1)tcprulescheck(1)argv0(1)fixcrio(1)rblsmtpd(1)tcpclient(1)who@(1)date@(1)finger@(1)http@(1)tcpcat(1)mconnect(1)tcp-environ(5)
http://cr.yp.to/ucspi-tcp.html
and thatβs the whole recordio(1) page from the General Commands Manual, bestie β go watch those packets mwah πβ¨
π¦ where this page comes from
- debian bookworm: ucspi-tcp 1:0.88-7 Β· LicenseRef-public-domain
- debian trixie: ucspi-tcp 1:0.88-13 Β· LicenseRef-public-domain
- nixos 26.05: ucspi-tcp 0.88
- nixpkgs unstable: ucspi-tcp 0.88
- ubuntu jammy: ucspi-tcp 1:0.88-6 Β· LicenseRef-public-domain
- ubuntu noble: ucspi-tcp 1:0.88-8ubuntu1 Β· LicenseRef-public-domain
- ubuntu resolute: ucspi-tcp 1:0.88-13ubuntu1 Β· LicenseRef-public-domain
- ubuntu stonking: ucspi-tcp 1:0.88-13ubuntu1 Β· LicenseRef-public-domain
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms