News for hackers. Stuff that matters.
Re:Better bash in 15 minutes by vacri on Thursday April 17, 2014 @01:22AM (#7602107)
Playing around with it, I see that using <<'END' does not expand $variables in the block, but <<END does expand them. My google-fu is failing me; what's happening here?
Re:Better bash in 15 minutes by anon4 on Thursday April 17, 2014 @05:01AM (#7602606)
It's two different syntaxes. Like the difference between '$VAR' (no expansion, literal string) and "$VAR" (with expansion). See

http://tldp.org/LDP/abs/html/quoting.html

http://tldp.org/LDP/abs/html/here-docs.html