yq/pkg/yqlib/doc/headers/Variable Operators.md

4 lines
296 B
Markdown
Raw Normal View History

2021-09-12 06:55:55 +00:00
Like the `jq` equivalents, variables are sometimes required for the more complex expressions (or swapping values between fields).
Note that there is also an additional `ref` operator that holds a reference (instead of a copy) of the path, allowing you to make multiple changes to the same path.