Ok, so I know there is a similar post that I referred to already but does not fit the exact issue I am having.
For reference: shell sed - substitute an unknown string between a known string and a generic delimiter replace a unknown string between two known strings with sed
file unknown-string,unknown-string,unknown-string
i need to add .
to be like that:
file unknown-string,.unknown-string,.unknown-string
i tried sed -i 's/file.*,/file ,./g' file.txt
not working!
NOTE: there are many ,
in the file so i can't use sed -i 's/,/,./'
Thanks.