Fixing op precedences

This commit is contained in:
Mike Farah
2021-02-11 10:58:40 +11:00
parent 85ec32e3db
commit 9e56b364c2
5 changed files with 33 additions and 23 deletions
-11
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
```