I have a file of strings that are comma separated. I'm trying to replace the commas with a new line. I've tried:
sed 's/,/ /g' file
but it is not working. What am I missing?
Use tr instead:
tr
tr , ' ' < file
1.4m articles
1.4m replys
5 comments
57.0k users