SEEKABLEPIPE(1)
π SEEKABLEPIPE(1) β like, the general commands manual, bestie
okay so picture this: you're in the General Commands Manual section (section 1, iykyk) and you've got a seekablepipe moment. let me tell you everything π«Ά
β¨ NAME β¨
seekablepipe β turn the reading end of a pipe into a seekable file descriptor, using a temporary file. literally that's the whole vibe. π
π SYNOPSIS π
writer | seekablepipe tmpfile reader [args...]
π¦ DESCRIPTION π¦
okay so here's the tea, bestie: seekablepipe takes writer's output and writes it to tmpfile, which gets unlinked as soon as it is created (the way that it just β¨vanishesβ¨ from the directory listing but the fd is still vibing, iconic). then it does an exec(3) into reader, reading from a file descriptor on tmpfile.
so like, your reader thinks it's reading a normal file it can seek around in, but lowkey it's a pipe's output. main character energy fr fr. π
π EXIT STATUS π
111β temporary error. like, a "try again later" moment π100β permanent error, such as a misuse. that one's a you problem, ngl π127β unable to execute program β not found. it's giving "who? never heard of her" π126β unable to execute program β other reason. the program exists but it's not cooperating π
πΈ SEE ALSO πΈ
a whole friend group of s6 besties, all of them section 1, all of them slaying:
s6-basename(1)s6-cat(1)s6-chmod(1)s6-chown(1)s6-clock(1)s6-cut(1)s6-dirname(1)s6-dumpenv(1)s6-echo(1)s6-env(1)s6-expr(1)s6-false(1)s6-format-filter(1)s6-grep(1)s6-head(1)s6-hiercopy(1)s6-linkname(1)s6-ln(1)s6-ls(1)s6-maximumtime(1)s6-mkdir(1)s6-mkfifo(1)s6-nice(1)s6-nuke(1)s6-pause(1)s6-printenv(1)s6-quote(1)s6-quote-filter(1)s6-rename(1)s6-rmrf(1)s6-seq(1)s6-sleep(1)s6-sort(1)s6-sync(1)s6-tai64ndiff(1)s6-tail(1)s6-touch(1)s6-true(1)s6-uniquename(1)s6-unquote(1)s6-unquote-filter(1)
this man page is ported from the authoritative documentation at: https://skarnet.org/software/s6-portable-utils/seekablepipe.html β go give the source some love π
π§ AUTHORS π§
- Laurent Bercot
- Alexis <flexibeast@gmail.com> (man page port)
okay that's the whole page, no cap. π this Debian-flavored edition of SEEKABLEPIPE(1) is dated January 15, 2023, and honestly? a classic. periodt. βπ
π¦ where this page comes from
- nixpkgs unstable: s6-portable-utils 2.3.1.2
- nixpkgs unstable: s6-portable-utils-man-pages 2.3.1.1.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms