Closed hnakamur closed 4 years ago
Without this fix (actually no newline at the end)
$ echo -n -e 'ENV1="VAR1"\nENV2="VAR2"\n' | xargs printf '%q' 'ENV1=VAR1''ENV2=VAR2'
With this fix (actually no newline at the end)
$ echo -n -e 'ENV1="VAR1"\nENV2="VAR2"\n' | xargs printf ' %q' 'ENV1=VAR1' 'ENV2=VAR2'
Nice one, thanks a lot for this contribution! 🙃
Without this fix (actually no newline at the end)
With this fix (actually no newline at the end)