BSD Ports

textproc/yq 4.4.5 OpenBSD

jq wrapper for YAML/XML documents

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Last update
Commit
659413ca54
Categories
textproc, lang/python

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.

In the other systems

SystemPortVersion
OpenBSDtextproc/yq4.4.5
FreeBSDtextproc/yq4.2.0
NetBSDtextproc/yq4.1.2
DragonFlytextproc/yq3.4.3
MidnightBSDtextproc/yq3.4.3_1
HardenedBSDtextproc/yq4.2.0
GhostBSDtextproc/yq4.1.2

Install

Binary package:

pkg_add yq

From the ports tree:

cd /usr/ports/textproc/yq && make install

Dependencies

Build dependencies 4
Run dependencies 6

No port depends on this one.

Commit history 4

DateCommitCreditsLog message
659413ca54 sthen update to yq-4.4.5
31fa647cf7 sthen update to yq-4.4.0
5daec691be sthen update to yq-4.1.2
af48c28b31 sthen update to yq-4.1.1