Closed ghost closed 4 years ago
You misunderstood the documentation. xq expects XML input, while yq expects JSON input. -x
controls the output format.
@kislyuk what documentation?
It seems that you are saying the quoted documentation is for xq -x
. If thats the case, then yq -x
isnt actually documented.
Correct.
On Wed, Nov 6, 2019 at 7:46 AM Steven Penny notifications@github.com wrote:
@kislyuk https://github.com/kislyuk what documentation?
It seems that you are saying the quoted documentation is for xq -x. If thats the case, then yq -x isnt actually documented.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/kislyuk/yq/issues/76?email_source=notifications&email_token=AAGSOPKVHBZPGIOGSLBFLTTQSLRGRA5CNFSM4JJPRYH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDG7VMQ#issuecomment-550369970, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGSOPOPZMVMQTKSEIOBMJLQSLRGRANCNFSM4JJPRYHQ .
Here:
https://github.com/kislyuk/yq#xml-support
It says:
but it doesnt actually work that way:
This does work: