in reply to Re: csv to flat-filein thread csv to flat-file
You need the 'g' on the end of the regexp, ie s/,/ /g;otherwise only the first comma is replaced (g for global). Also I think this should have read:
perl -pe 's/,/ /;' untested.csv [download]