You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version of yq: 4.30.2 Operating system: linux Installed via: binary release
Describe the bug
Split lines from external file or external variable does not work.
This makes the processing of external line-delimited sources impossible in some cases.
Kopfbremse
changed the title
Split lines from external file or external variable does not work
Split lines by '\n' from external file or external variable does not work
Nov 13, 2022
Fixed in 4.30.3 - note that you will need to use strenv and not env (as env passes the content as-is to the yaml decoder, and that strips some of the newlines)
Fixes d79f4d4Fixes#463
This is required since versions of yq older than 4.30.3 do not parse "\n" correctly.
See mikefarah/yq#1430 and e02bb7194897edb916a6787fb8f8e5a7f432dd94
Version of yq: 4.30.2
Operating system: linux
Installed via: binary release
Describe the bug
Split lines from external file or external variable does not work.
This makes the processing of external line-delimited sources impossible in some cases.
Input file
lines.txt
Commands
Output
Expected behaviour
Output should be for each command
The text was updated successfully, but these errors were encountered: