Home

The textproc/yq port

yq-3.4.3 – jq wrapper for YAML/XML documents (cvsweb github mirror)

Description

yq takes YAML input, converts it to JSON, and filters it through jq(1).

No output conversion is done by default.  Command line arguments are forwarded.
yq exits 1 on YAML parsing errors, otherwise jq's exit code is forwarded.

YAML tags in the input are ignored (any nested data is treated as untagged).
Key order is preserved.

xq behaves like yq but takes XML input.  Multiple XML documents can be passed
in separate files/streams.  Entity expansion and DTD resolution is disabled to
avoid XML parsing vulnerabilities.
WWW: https://kislyuk.github.io/yq/

Maintainer

The OpenBSD ports mailing-list

Categories

lang/python textproc

Build dependencies

Run dependencies

Test dependencies

Files

Search