jq: remove tokenization of dot operator (#9428)

This commit is contained in:
Richard Mörbitz
2022-11-02 05:27:37 +01:00
committed by GitHub
parent bbe0ebab38
commit 28841b6189
3 changed files with 6 additions and 6 deletions

View File

@@ -5,7 +5,7 @@
- Execute a specific expression (print a colored and formatted json):
`{{cat path/to/file.json}} | jq '{{.}}'`
`{{cat path/to/file.json}} | jq '.'`
- Execute a specific script:
@@ -29,4 +29,4 @@
- Add/remove specific keys:
`{{cat path/to/file.json}} | jq '{{.}} {{+|-}} {{{"key1": "value1", "key2": "value2", ...}}}'`
`{{cat path/to/file.json}} | jq '. {{+|-}} {{{"key1": "value1", "key2": "value2", ...}}}'`