I am trying to replace a list of numbers, into "a" letter.
I have been able to do this already in an online regex tester as you can find here.
Example: 123,456,789 ==> 123,a,a
But, I translated this into sed command, like this, and it's not working.
echo "123,456,789" | sed 's/\(\d*\)\(,\d*\)/\1,a/g'
Which produces:
123,a456,a789
Am I missing something?