Harmonize formatting and capitalization of stdin/stdout/stderr

This commit is contained in:
Waldir Pimenta
2019-06-17 16:00:38 +01:00
committed by Agniva De Sarker
parent 5284daaa64
commit cf25745db1
61 changed files with 77 additions and 77 deletions

View File

@@ -19,11 +19,11 @@
`jq .[0] {{file.json}}`
- Output the value of a given key of the first element in a JSON text from stdin:
- 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:
- Output the value of a given key of each element in a JSON text from `stdin`:
`cat {{file.json}} | jq 'map(.{{key_name}})'`