1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-03 21:15:32 +02:00

jq: fix description and url (#12344)

This commit is contained in:
htaketani 2024-02-25 04:42:40 +09:00 committed by GitHub
parent 12ef7e01eb
commit b4a3bb7075
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,7 +1,7 @@
# jq
> A command-line JSON processor that uses a domain-specific language (DSL).
> More information: <https://stedolan.github.io/jq/manual/>.
> More information: <https://jqlang.github.io/jq/manual/>.
- Execute a specific expression (print a colored and formatted JSON output):
@ -23,7 +23,7 @@
`{{cat path/to/file.json}} | jq '{{.[index1], .[index2], ...}}'`
- Print all array items/object keys:
- Print all array/object values:
`{{cat path/to/file.json}} | jq '.[]'`