OpenBSD Handbook

OpenBSD 7.9 release · amd64 · Generated 2026-09-09

yq-3.4.3p1

jq wrapper for YAML/XML documents

Back to search · Project homepage

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.

Package information

Ports path
textproc/yq
Package architecture
amd64
Maintainer
The OpenBSD ports mailing-list <ports@openbsd.org>
Categories
textproc, lang/python
Available flavors
None listed
Only for architectures
aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, alpha, hppa, sparc64

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

Runtime

Build

Test

Installing and updating packages · Package details as JSON