John, Thank you! That was what I needed to know. I've updated the example with the resolution here: https://raw.github.com/gist/2795766/b7bb35c042313016adfd5e2425ad4954bed436fb/heredoc.sh
For historical purposes the errant version is here: https://raw.github.com/gist/2795766/bc06f5e3203b825acf016efcaba4b9729e1f1f06/heredoc.sh -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
