[Bash] New line character in variable
How can I include a new line character in a variable in a bash shell script?
echo $myvar # gives line1\nline2
Doesn't work...and I have already tried many different combinations (\r\n, etc etc).
Thanks in advance.