S6-UNQUOTE(1)
πΈ S6-UNQUOTE(1) β the s6-unquote manual, bestie edition πΈ
okay so real quick: this is the man page for s6-unquote, one of the s6-portable-utils girlies. she's a tiny little icon and she's about to undo some quoting for you. let's get into it π
β¨ NAME β¨
s6-unquote β unquotes a quoted string and writes it to stdout. that's it, that's the whole job. queen behavior fr π
π¦ SYNOPSIS π¦
s6-unquote [-n] [-d delim] string
π DESCRIPTION π
so s6-unquote unquotes string, and like β string has to follow the syntax of the output strings from s6-quote(1). that's the vibe check it has to pass. no cap.
if it can't unquote string properly, it prints various warning or error messages to stderr. so it will tell you what went wrong, it's not gonna ghost you π
if it succeeds, it prints the result to stdout and exits 0. slay.
and for context, quoted strings can be produced via the s6-quote(1) or s6-quote-filter(1) programs β those are the ones making the quoted strings, and s6-unquote is the one taking them apart again. iconic teamwork β¨
π OPTIONS π
-nβ do not print a trailing newline. just the raw result, no little newline garnish at the end π«Ά-d delimβ delim is a list of characters that will be considered as delimiters (to start and end the quoted string). by default, only the double quote is such a character. and if delim is the empty string,s6-unquoteinterprets string as non-delimited, only escaped (i.e. the result of somes6-quote -uoperation). very specific, very demure π
π₯ EXIT STATUS π₯
111β Temporary error.100β Permanent error, such as a misuse.127β Unable to execute program - not found.126β Unable to execute program - other reason.
π SEE ALSO π
the whole friend group, honestly β go say hi to all of them:
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-filter(1), s6-update-symlinks(1), seekablepipe(1)
also, for the record: this man page is ported from the authoritative documentation at: https://skarnet.org/software/s6-portable-utils/s6-unquote.html
π AUTHORS π
- Laurent Bercot
- Alexis <flexibeast@gmail.com> (man page port)
and that's the whole page, bestie. go unquote something and have a beautiful day π
Debian Β· April 18, 2022 β mwah, catch you on the next man page π§ββοΈπ
π¦ 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