Possible Duplicate:
sed, foward slash in quotes
In my bash script I have a path string, which I should use in sed pattern.
SRC_PATH="$PWD"
sed "s/<SRC_PATH>/$SRC_PATH/g" template.sh > replaced.sh
How can I escape the $SRC_PATH string so it would be safely accepted by sed as a literal replacement?