yq/pkg/yqlib/doc/headers/variable-operators.md
2021-11-03 22:37:07 +11:00

6 lines
318 B
Markdown

# Variable Operators
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.