Say I have a text file like this:
a;bc;d;{a;b;cd}
ab;cde;f;{ab;c;defg}
ab;{a;b;cd};cde;f
...
and I want to replace all the semicolons in curly brackets by comma. It will look like this after substitution:
a;bc;d;{a,b,cd}
ab;cde;f;{ab,c,defg}
ab;{a,b,cd};cde;f
...
How should I do it in shell command? sed, awk or whatever...