I have a a CSV file which has a space after every comma. I wish to remove the space after every comma and I try something like:
sed -e 's/ ,/,/g' local.csv > localNoSpaces.csv
But this only removes the space after the first comma on each line. How do I remove the space after all commas?
Thanks.
Just in case that the spaces are not spaces but tabs and spaces you could use
or if they are after each comma use