S6-UNQUOTE-FILTER(1)

NAME
s6-unquote-filter - read quoted strings on stdin, unquote them and write the results to stdout

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

DESCRIPTION
s6-unquote-filter reads lines on stdin. It exits 0 on EOF.

It expects read lines to follow the syntax of s6-quote(1)' s output strings.

Depending on the strictness options, it prints various warning or error messages to stderr if it cannot properly unquote lines. In the very strict mode, it exits 100 on the first unquoting error.

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

Quoted strings can be produced via the s6-quote(1) or s6-quote-filter(1) programs.

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).

-q  Loose/quiet mode. s6-unquote-filter will silently accommodate errors.

-Q  Normal mode. This is the default. s6-unquote-filter will warn on errors.

-v  Strict/verbose mode. s6-unquote-filter will warn loudly on errors, with many details.

-w  Very strict mode. s6-unquote-filter will complain and die on the first unquoting error it encounters.

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
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

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