Zach Dennis <zdennis / mktec.com> wrote:
> #a bunch of blank lines
> x = <<"ENDTEXT"
> \n\n\n\n\n
> ENDTEXT
> 
> #a bunch of literal \n 's
> x = <<'ENDTEXT'
> \n\n\n\n\n
> ENDTEXT

Well, I'm using heredoc because I don't want to specify \n and the
such.  The string is specified and looks almost exactly as the document.

But I *do* want #{} expansion.  This is the way it pretty much works
on bash heredoc by default.

Cheers,
Navin.