mirror of https://github.com/CrimsonTome/tldr.git
jq: fix description and url (#12344)
parent
12ef7e01eb
commit
b4a3bb7075
|
@ -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 '.[]'`
|
||||
|
||||
|
|
Loading…
Reference in New Issue