S6-FTRIG-WAIT(8)
π s6-ftrig-wait β the manual page, but make it cute
okay so bestie, welcome to s6-ftrig-wait(8), from the System Manager's Manual. this one's a whole little vibe: you subscribe to an s6-fifodir(7), and then you justβ¦ wait. patiently. like a main character. π
β¨ NAME β¨
s6-ftrig-wait β subscribe to an s6-fifodir(7) and wait for a pattern of events to occur on this fifodir. that's it. that's the job. she's simple, she's iconic. π
π¦ SYNOPSIS π¦
s6-ftrig-wait [-t timeout] fifodir regexp
literally just the program name, an optional -t timeout, then fifodir and regexp. no cap, that's the whole invocation. π«Ά
πΈ DESCRIPTION πΈ
so s6-ftrig-wait subscribes to fifodir. she's in the group chat now. π
then she waits for the series of events received on fifodir to match regexp. and regexp must be an Extended Regular Expression[1] β that's the rule, no exceptions, iykyk. β
and when the series of read events matches regexp? slay. at that exact moment, s6-ftrig-wait prints the last event it received to stdout (one byte followed by a newline), then exits 0. ate and left no crumbs. π₯
π OPTIONS π
-t timeoutβ if the events onfifodirhave not matchedregexpafter timeout milliseconds, print an error message on stderr and exit1. like, she waited, she really did. π by default,s6-ftrig-waitwaits indefinitely for a matching series of events β she has all the time in the world, lowkey. π
π SEE ALSO π
these are all her besties, go say hi:
s6-cleanfifodir(8)s6-ftrig-listen(8)s6-ftrig-listen1(8)s6-ftrig-notify(8)s6-ftrigrd(8)s6-mkfifodir(8)
[1] https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/V1_chap09.html#tag_09_04
and for the record, this man page is ported from the authoritative documentation at: https://skarnet.org/software/s6/s6-ftrig-wait.html β go read the source, bestie, it's giving β¨referencesβ¨
π AUTHORS π
- Laurent Bercot
- Alexis <flexibeast@gmail.com> β (man page port)
okay that's the whole page, ily, go match some regexps π§π
this cutie was shipped by Debian, dated September 29, 2021, under the name S6-FTRIG-WAIT(8) β periodt. π
π¦ where this page comes from
- nixpkgs unstable: s6 2.15.1.0
- nixpkgs unstable: s6-man-pages 2.14.0.1.4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms