Need help for get array keys to process after inside a bash loop #1779
cesarjorgemartinez
started this conversation in
General
Replies: 2 comments
-
By testing I have managed to remove it, but it seems quite long to remove "- ":
|
Beta Was this translation helpful? Give feedback.
0 replies
-
The reason its showing the "- " is because it's printing an array, and thats the array format in yaml.
|
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 have a yaml as follows:
I need to get the key names, then:
But I need only the names, not the "- " part. Howto print as simple?:
I have yq version 4.16.2
Regards
Beta Was this translation helpful? Give feedback.
All reactions