mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-03 22:55:37 +02:00
jq: remove example to bring it under the 8 example limit (#5057)
This commit is contained in:
parent
550b259371
commit
a1b636f844
1 changed files with 0 additions and 4 deletions
|
@ -19,10 +19,6 @@
|
|||
|
||||
`jq '.[0]' {{file.json}}`
|
||||
|
||||
- Output the value of a given key of the first element in a JSON text from `stdin`:
|
||||
|
||||
`cat {{file.json}} | jq '.[0].{{key_name}}'`
|
||||
|
||||
- Output the value of a given key of each element in a JSON text from `stdin`:
|
||||
|
||||
`cat {{file.json}} | jq 'map(.{{key_name}})'`
|
||||
|
|
Loading…
Add table
Reference in a new issue