Issue
I need to replace \
with /
.
I have a file that has:
test\test2\test3\test4
I tried
VRS_Ruta=$(cat ruta.lst | sed 's/^.//g' | sed 's,/,///,g' )
output
test\test2\test3\test4
I need:
test/test2/test3/test4
Solution
You can use the following:
sed 's/\\/\//g'
Answered By - JNevill