When editing certain .yaml files in-place with yq that contain multiline strings, it adds newlines that don't belong.
It adds more newlines every time it runs over these files.
Version of yq: 4.43.1
Operating system: linux
Installed via: binary release
Describe the bug
When editing certain
.yaml
files in-place withyq
that contain multiline strings, it adds newlines that don't belong. It adds more newlines every time it runs over these files.Version of yq: 4.43.1 Operating system: linux Installed via: binary release
Input Yaml
data1.yaml:
Command
Actual behavior
Expected behavior
Additional context
I haven't been able to find any good workarounds for this issue. Any tips short of a full fix would be greatly appreciated. Thanks