I am having this challenge to pass a link from a variable:
InstallLocation=/opt/software/software.properties
ReplaceeVar=http://localhost:1234/ab/cd/{company}/{employee}/
sed -i "s/Change_This_Url/"${ReplaceeVar}"/g" "$InstallLocation"
Built url would fail like:
sed: -e expression #1, char xx: unterminated `s' command