S6-UNQUOTE-FILTER(1)

πŸ“¦ version 2.3.1.2, in nixpkgs unstable

✨ s6-unquote-filter(1) β€” the unquoting one πŸ’…

okay so bestie, welcome to s6-unquote-filter, a General Commands Manual situation, section 1. it reads quoted strings on stdin, unquotes them, and writes results to stdout. it's giving "quiet little utility that just works" energy and honestly? we stan 🫢

🌸 SYNOPSIS 🌸

s6-unquote-filter [-q | -Q | -v | -w] [-d delim]

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea: s6-unquote-filter reads lines on stdin. it exits 0 on EOF. periodt.

it expects the lines it reads to follow the syntax of s6-quote(1)'s output strings β€” like, that's the whole vibe it's checking for.

depending on which strictness options you picked, it prints various warning or error messages to stderr if it can't properly unquote lines 😭. and in the very strict mode, it exits 100 on the first unquoting error. like, no second chances, it's done, bye πŸ’€.

if it is successful at unquoting, it prints the resulting lines to stdout. slay.

and like, just so you know where these quoted strings come from β€” they can be produced via the s6-quote(1) or s6-quote-filter(1) programs. iykyk ✨


πŸ’– OPTIONS πŸ’–

  • -d delim β€” 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. if delim is the empty string, s6-unquote-filter interprets string as non-delimited, only escaped (i.e. for instance the result of some s6-quote-filter -u operation). lowkey important, bestie πŸŽ€
  • -q β€” loose/quiet mode. s6-unquote-filter will silently accommodate errors. it's giving "no thoughts, head empty" and honestly? valid πŸ™ˆ
  • -Q β€” normal mode. this is the default. s6-unquote-filter will warn on errors. not too much, not too little. main character energy πŸ’œ
  • -v β€” strict/verbose mode. s6-unquote-filter will warn loudly on errors, with many details. it's gonna tell you everything, bestie β€” every last detail, no crumbs πŸ“
  • -w β€” very strict mode. s6-unquote-filter will complain and die on the first unquoting error it encounters. like one strike and you're out, it is NOT playing πŸ’€πŸ”₯

🌈 EXIT STATUS 🌈

  • 111 β€” temporary error. it's going through something, give it a sec 😭
  • 100 β€” permanent error, such as a misuse. ngl this one's on you bestie
  • 127 β€” unable to execute program - not found. it's not here, she left πŸ‘‘
  • 126 β€” unable to execute program - other reason. different problem, same vibe πŸ’…

⭐ SEE ALSO ⭐

okay so bestie, here's the whole friend group, alphabetized and everything, no cap:

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-update-symlinks(1), seekablepipe(1)

this man page is ported from the authoritative documentation at: https://skarnet.org/software/s6-portable-utils/s6-unquote-filter.html β€” go read the source of truth if you want, bestie, it's iconic ✨

🧚 AUTHORS 🧚

  • Laurent Bercot
  • Alexis <flexibeast@gmail.com> (man page port)

and that's a wrap, gorgeous πŸ’– this page came to you from Debian, dated April 18, 2022 β€” the manual formerly known as S6-UNQUOTE-FILTER(1), now serving full unquoted looks πŸ‘‘πŸŽ€

πŸ“¦ where this page comes from