invalid input text "\\\"testing\\\")" #1912
nkrishnakishor
started this conversation in
General
Replies: 1 comment
-
I'm not fully across how Powershell handles quotes, but there's some tips here: https://mikefarah.gitbook.io/yq/usage/tips-and-tricks#quotes-in-windows-powershell and here #747 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
I'm trying to fetch keys which match a particular value on Windows PowerShell but seeing
invalid input text
error.Below is the data
query I tried are
yq ".List1[].List2[] | select(.Comment == \""testing\"")" file.yaml
andyq '.List1[].List2[] | select(.Comment == \"testing\")' file.yaml
both resulted in same errorError: 1:39: invalid input text "\\\"testing\\\")"
.I'm using
Beta Was this translation helpful? Give feedback.
All reactions