Hacker News new | ask | show | jobs
by dpflan 92 days ago
There is also: - xq for xml - yq for yaml
3 comments

I wrote uq specifically for urls https://github.com/mcoliver/uq
you can use xmllint for xml via xmllint —-xpath

It’s great as it is included by default in RHEL/Fedora

yq can do a lot more than just yaml:

> yq is a portable command-line YAML, JSON, XML, CSV, TOML, HCL and properties processor