Here documents - video
Here documents
A gotcha: The END_STRING we have put at the end of the string must be exactly the same as we have at the beginning. You can't even have extra whitespaces! So make sure the END_STRING at the end of the here document starts at the first character of the line and has no spaces, tabs, or other invisible characters at the end of the line.
Published on 2015-03-11
If you have any comments or questions, feel free to post them on the source of this page in GitHub. Source on GitHub.
Comment on this post