I have a shell script (.sh) where I use the sed command to replace the last matching character in a file(I have placed the command below).
How should I replace the command to get the same functionality in a batch file (.bat) without adding any packages/plugins (To be compatible in windows 7 and later)?
sed -i '$ s/,/;/g' abc.java