Use sed in bash to replace string with heredoc – Stack Overflow https://stackoverflow.com/questions/26770426/use-sed-in-bash-to-replace-string-with-heredoc
shell – Substitute pattern within a file with the content of other file – Unix & Linux Stack Exchange http://unix.stackexchange.com/questions/49377/substitute-pattern-within-a-file-with-the-content-of-other-file
How to assign a heredoc value to a variable in Bash? – Stack Overflow http://stackoverflow.com/questions/1167746/how-to-assign-a-heredoc-value-to-a-variable-in-bash
Use sed in bash to replace string with heredoc – Stack Overflow http://stackoverflow.com/questions/26770426/use-sed-in-bash-to-replace-string-with-heredoc