apply changes to specific document in a multi document yaml #1705
Answered
by
mauricioscastro
mauricioscastro
asked this question in
Q&A
-
I am still trying, but I just can´t seen to get this done and I know there's probably a straightforward way to do this. I have a yaml with multiple documents: a: b
n:
x: z
c:
eee: M
---
a: b1
n:
x: y
c1:
eee1: M
---
a: b3
n:
x: k
c2:
eee2: M and I need to select the one with a == b1 and n.x == y , update c1.eee1 and with that update the original document, or else, update di=2 with the result, or is there a way to this in one step? |
Beta Was this translation helpful? Give feedback.
Answered by
mauricioscastro
Jun 23, 2023
Replies: 1 comment
-
looking at this one I figured it out |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mauricioscastro
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
looking at this one I figured it out