mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 16:13:31 +02:00
jq: fix jq syntax error (#4257)
This commit is contained in:
parent
507c0df261
commit
677ca84ceb
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@
|
|||
|
||||
- Output the value of multiple keys as a new JSON object (assuming the input JSON has the keys `key_name` and `other_key_name`):
|
||||
|
||||
`cat {{file.json}} | jq '{{{my_new_key}}: .{{key_name}}, {{my_other_key}}: {{other_key_name}}}'`
|
||||
`cat {{file.json}} | jq '{{{my_new_key}}: .{{key_name}}, {{my_other_key}}: .{{other_key_name}}}'`
|
||||
|
||||
- Combine multiple filters:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue