I have this line for example:
1,2,3,4,5,6,7,8,9,10
I want to insert a newline ( ) every 2nd occurrence of "," (replace the 2nd, with newline) .
This might work for you (GNU sed):
sed 's/,/ /2;P;D' file
1.4m articles
1.4m replys
5 comments
57.0k users