I have a README.md file where I\'d like to replace a text identifier {{CODESHIP_CODE}} with a line of code – specifically a build status image code snippet that
{{CODESHIP_CODE}}
You can't use a replacement string that contains the unescaped delimiter. Escape the delimiters in the string, or switch to different ones.
${codeship_build_status////\\/} # escape # or s%{{CODESHIP_CODE}}%$codeship_build_status%g #
Make sure the new delimiter isn't contained in the string.