I have this multi-line string (quotes included)
abc'asdf"
$(dont-execute-this)
foo"bar"''
How would I assign it to a variable using a heredoc in Bash?
There is still no solution that preserves newlines.
I don't want to escape the characters in the string, that would be annoying...