I'm looking for a way to do this with sed or perl. I have files filled with strings like this:
0,0,0:17
1,0,0:17
0,1,0:17
0,0,1:17
1,0,1:17
I also have files filled with strings like this:
0,0,-1:17.12
1,0,-1:17.12
2,0,-1:17.12
0,1,-1:17.12
1,1,-1:17.12
I want to change all instances of the number 17 into 17.12, but I don't want to accidentally change instances of 17.12 into 17.12.12.
Any help?
 
     
     
     
     
    