Replacing array with variable is not working using bash script #977
-
Describe the bug Version of yq: 4.11.0 Input Yaml
I am trying get all names into single array and then put back under some meta data tag. Command //And then trying to modify the same file
Expected behavior _format_version: "2.1"
services:
- name: abc
- name: pqr
a
info :
- abc
- pqr Additional context |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Moved to discussion as you are asking for help with bash + yq |
Beta Was this translation helpful? Give feedback.
Moved to discussion as you are asking for help with bash + yq