S6-QUOTE-FILTER(1)

πŸ“¦ version 2.3.1.2, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay so this is the manual page for s6-quote-filter(1) from the General Commands Manual, and it's literally a tiny filter bestie. Its whole job is to act as a filter: quote lines read on stdin and write the quoted lines to stdout. That's the vibe. πŸ’…


✨ SYNOPSIS ✨

s6-quote-filter [-u] [-d delim]

πŸ’… DESCRIPTION πŸ’…

okay so s6-quote-filter reads lines on stdin; it quotes every line, putting it inside double quotes and escaping all dubious characters. Then it writes the quoted strings to stdout. Slay. ✨

It exits 0 on EOF. 🫢

Quoted strings are guaranteed to be pure printable ASCII, without control characters. No weird little control gremlins allowed. πŸ’€

Quoted strings can be unquoted via the s6-unquote(1) or s6-unquote-filter(1) programs. iykyk. πŸ’–


🌸 OPTIONS 🌸

  • -u β€” do not put read lines inside double quotes, only escape characters if needed. So it's lowkey "no extra wrapping" mode.
  • -d delim β€” use the first character of delim as a quote character, instead of double quotes. Different quote character, same iconic energy.

πŸ¦‹ EXIT STATUS πŸ¦‹

  • 111 β€” temporary error. annoying, but temporary.
  • 100 β€” permanent error, such as a misuse. like, that's a permanent situation bestie.
  • 127 β€” unable to execute program - not found.
  • 126 β€” unable to execute program - other reason.

🌈 SEE ALSO 🌈

the whole friend group showed up: 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-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).

This man page is ported from the authoritative documentation at: https://skarnet.org/software/s6-portable-utils/s6-quote-filter.html


πŸ‘‘ AUTHORS πŸ‘‘

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

🫢 cute sign-off: this is the Debian S6-QUOTE-FILTER(1) manual page, dated April 17, 2022. mwah πŸ’–
πŸ“¦ where this page comes from