1
0
mirror of https://github.com/taigrr/yq synced 2025-01-18 04:53:17 -08:00

Fixing op precedences

This commit is contained in:
Mike Farah
2021-02-03 17:11:47 +11:00
parent 85ec32e3db
commit 9e56b364c2
5 changed files with 33 additions and 23 deletions

View File

@@ -79,14 +79,3 @@ then
yq eval '.a.[] | select(. == "*og") | [{"path":path, "value":.}]' sample.yml
```
will output
```yaml
- path:
- a
- 1
value: dog
- path:
- a
- 2
value: frog
```