SEEK0(1)
π The seek0 program β SEEK0(1) π
β¨ SYNOPSIS β¨
seek0 [fd ...] [: command arg ...]
π¦ DESCRIPTION π¦
okay so bestie, seek0 seeks to the beginning of each given file descriptor β every single fd in that little list gets the beginning-of-file treatment. π
Then it execs the given command, if any. A colon separates the file descriptors from the command, periodt. π
This is useful, for example, in scripts called from .qmail files (the qmail URL is https://cr.yp.to/qmail/) that do multiple deliveries. π For example:
$ cat .qmail
|./script
$ cat script
tomaildir ./foo
seek0 0
tomaildir ./bar
β and thatβs the footer moment: The seek0 program() is the source/version line, the date slot stays exactly as given (blank in this copy), and the SEEK0(1) manual name is officially folded in up top π«Άπβ¨
π¦ where this page comes from
- nixpkgs unstable: fdtools 2024.12.07
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms