This commit is contained in:
Mike Farah
2022-10-29 18:24:11 +11:00
parent 28a82e9ae8
commit a7e397757b
56 changed files with 238 additions and 335 deletions
-6
View File
@@ -7,12 +7,6 @@ You can get the key/index of matching nodes by using the `path` operator to retu
Use `setpath` to set a value to the path array returned by `path`, and similarly `delpaths` for an array of path arrays.
{% hint style="warning" %}
Note that versions prior to 4.18 require the 'eval/e' command to be specified. 
`yq e <exp> <file>`
{% endhint %}
## Map path
Given a sample.yml file of:
```yaml