We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assuming the following test file:
$ cat >foo.yaml<<EOT value: &value-pointer the value pointer: *value-pointer EOT
With previous versions of yq, we'd see the expected behaviour:
yq
$ yq r foo.yaml value the value $ yq r foo.yaml pointer the value
However, with yq version 3.0.1:
$ yq r foo.yaml value the value $ yq r foo.yaml pointer *value-pointer
Oddly, this works in JSON mode:
$ yq -j r foo.yaml pointer "the value"
Sounds like this is related to #339.
The text was updated successfully, but these errors were encountered:
Nice pick up - will have a fix in the next release
Sorry, something went wrong.
Fixed in https://github.com/mikefarah/yq/releases/tag/3.1.0 see https://mikefarah.gitbook.io/yq/commands/read#exploding-anchors :)
Thanks @mikefarah ! 😄
No branches or pull requests
Assuming the following test file:
With previous versions of
yq
, we'd see the expected behaviour:However, with
yq
version 3.0.1:$ yq r foo.yaml value the value $ yq r foo.yaml pointer *value-pointer
Oddly, this works in JSON mode:
$ yq -j r foo.yaml pointer "the value"
Sounds like this is related to #339.
The text was updated successfully, but these errors were encountered: