yq rewriting some escaped characters #2129
Unanswered
maartenSXM
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Given yaml file test.yaml containing this:
then
yq . test.yaml > yq.yaml
results in a file of a different length containing this:hexdump test.yaml
outputs:hexdump yq.yaml
outputs:Given that the escaped 16-bit Unicode characters were valid yaml in the first place, it would be preferable if yq did not rewrite it - at least in some use cases where the yq command is not as simple as the example above. Is there some way to keep yq from doing that? Thank you.
Beta Was this translation helpful? Give feedback.
All reactions