I need to replace a string "//" to the string "/". For example:
/video//5//record
I need it to be:
/video/5/record
I want to use sed:
sed -i -e 's//////g' inputfile
But I think I have some problem deal with the escape char. Any help will be greatly appreciated!!!