my problem of today is to replace in a string like this --> 6427//6422 6429//6423 6428//6421
every //
with a ,
. I tried with different commands:
finalString=${startingString//[//]/,}
doesn't workfileTemp=$(echo -e "$line\n" | tr "//" ","
does a double substitution like this:hello//world
--->hello,,world
Someone has an idea of a way to do it?