the string I want to edit looks like this:
/word1 /word2 //word3
wanted output:
word1 word2 //word3
The following command deletes all slashes and it makes since it does so
str=`echo $str | sed -r 's/\///g'`
How do I delete only single slashes.