I forgot how to group regex in sed and also using \ with paranthesis.
Here is a summary
1-If you group a regex with () then \1,...,\10 is the way to call them.
2-You must put \'s before any paranthesis inside sed like this
sed "s/\([0-9]\{1,3\}),\([0-9]\{1,3\}/\1.\2/g"
This sed makes two groups [0-9]\{1,3\} representing the digits before and after ",". And makes the comma between them a point ".". And prints the result.
This is the page which inspired me
http://www.catonmat.net/blog/sed-one-liners-explained-part-one/
Here is a summary
1-If you group a regex with () then \1,...,\10 is the way to call them.
2-You must put \'s before any paranthesis inside sed like this
sed "s/\([0-9]\{1,3\}),\([0-9]\{1,3\}/\1.\2/g"
This sed makes two groups [0-9]\{1,3\} representing the digits before and after ",". And makes the comma between them a point ".". And prints the result.
This is the page which inspired me
http://www.catonmat.net/blog/sed-one-liners-explained-part-one/