S6-EXPR(1)
β¨ NAME β¨
hey bestie, welcome to the S6-EXPR(1) page from the General Commands Manual π. s6-expr evaluates an expression and writes the result to stdout β that's literally the whole job, and it ate β¨.
π SYNOPSIS π
okay so the vibe is:
s6-expr expression...
π¦ DESCRIPTION π¦
so s6-expr acts as the generic expr[1] utility, except that the : operator (pattern matching) is not supported β nope, not even a little, bestie π.
it accepts an arbitrary number of arguments. arbitrary means "however many you want to give it", fr fr π .
π₯ EXIT STATUS π₯
111β Temporary error. temporary error, so like, try-again vibes.100β Permanent error, such as a misuse. oof, permanent.127β Unable to execute program - not found. can't find it π126β Unable to execute program - other reason. other trouble, not the not-found kind.
π SEE ALSO π
go say hi to the whole s6-portable-utils friend group π:
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-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)s6-update-symlinks(1)seekablepipe(1)
also expr[1] lives at https://pubs.opengroup.org/onlinepubs/9799919799/utilities/expr.html π.
this man page is ported from the authoritative documentation at: https://skarnet.org/software/s6-portable-utils/s6-expr.html π«Ά.
β STANDARDS β
s6-expr is not suitable as an expr[1] program conforming to . However, if you are never using the pattern matching functionality, s6-expr scrupulously follows the rest of the specification. π«Ά
π AUTHORS π
- Laurent Bercot
Alexis <flexibeast@gmail.com> (man page port)
xoxo, Debian π β S6-EXPR(1), April 16, 2022. byeee π«Ά
π¦ 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