I want to do a little script in bash to change for example 00:00:05:880 --> 00:00:08:280 into 00:00:05,880 --> 00:00:08,280 with a comma at the end of each time as you can see.
I've an expression like this : sed "s/\(.*\)\:/\1,/" but it changes only the last comma, and I want it to do it twice on the same line, like in the example.
I've also try the tr command : tr ":$$$" ",$$$" but it changes all the colon into commas.
Thanks for your help.