I have a string in my yaml file
prod:1.2.3"
In my bash
OLD_VERSION=1.2.3
NEW_VERSION=1.2.4
but I don't want to use
sed -i "" "s|$OLD_VERSION|$NEW_VERSION|g" test.txt
because there might be a chance that there would be 1.2.3 in some other place.So what I want to do instead is
replace 1.2.3"
with 1.2.4"
how to add "
in sed command