I have one file i need to replace below src string to dst string with below values.
src="59/291259.wav"
dest="58/291258.wav"
echo "source string= $src replacement string= $dest"
I'm trying below sed command, but getting below errors. could anyone help on thihs.
sed -i "s/$src/$dest/g" test.xml
Error: sed: -e expression #1, char 19: unknown option to `s'