Content of a json file
"iso_checksum": "md5:32fdf4fef4ef"
I have stored value of new checksum in a variable v = "4dfv45ffdf"
I want to replace the value after md5: from 32fdf4fef4ef to 4dfv45ffdf after replace above line in the file should like
"iso_checksum": "md5:4dfv45ffdf"
32fdf4fef4ef is not fixed value so we can not just replace like below
sed -i 's/32fdf4fef4ef/4dfv45ffdf/' file
4dfv45ffdf this is also not fixed value so kept in as $v
Can any please help me to perform the above task