source-sh complaints and import truncated value on var with new line
Summary
When executing bash script that produce env var which contains new line char, Ion will complaint about invalid env vars. Additionally, it also truncate the value because the new line is considered as another env var entry.
Expected
It should not complaint and not truncate.
How to reproduce
Create this simple shell export script.
#!/bin/sh
export VAR_WITH_NEWLINE=this is an example value which contains some\nnew\nline
Then start ion and do source-sh
# source-sh a.txt
Invalid environment variable 'line'. Proceeding anyway
Invalid environment variable 'new'. Proceeding anyway
Set VAR_WITH_NEWLINE to this is an example value which contains some