yq/pkg/yqlib/doc/operators/headers/variable-operators.md

6 lines
318 B
Markdown
Raw Normal View History

2021-11-03 04:00:58 +00:00
# Variable Operators
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.