I want to change ,'; to '; in a shell script. But using ' is a problem.
I want to change ,'; to '; in shell script
bash;shell script
Have you triedsed -e s/,';/';/because that seemed to work when I tried. (I would agree to usually single-quote the expression, but in your case, it does not contain anything that particularly needs protecting from shell expansions.)