I have a problem with a string variable which needs to be replaced with sed. However the string which needs to be replaced is ${INSTHOME}. It does not matter how I try to delimit it it will not accept the string and tries to resolve the contents which of course it cannot.