I have a env.sh which contains:
export MULTI_LINES="line1\nline2\nline3"
Then I use source to run it
source env.sh
When I check the environment variable:
printenv | grep MULTI_LINES
it shows
MULTI_LINES=line1\nline2\nline3
How to escape "\n" into line break?