use | instead of / and it will work e.g. sed "s|DEFAULT_VALUE|${Location}|g" < textfile.txt > substitutedtextfile.txt
Return to article...