Replacing all commas with spaces - S/R with a Unix Command? Replacing all commas with spaces - S/R with a Unix Command? unix unix

Replacing all commas with spaces - S/R with a Unix Command?


sed 's/,/ /g' filename >resultfile


You can use awk, sed, vi, ex or even Perl, PHP etc ... depends what you are proficient with.

sed example:

sed -i 's/,/ /g' filename_here