I have a .CSV file I need to clean up with bash. The csv file was built using OCR so the table row is all shown as 1 cell separated by xx spaces. I want to replace up to xx spaces with a single comma to start a cell.
I've tried using
but that doesn't seem to do the job. I replaced \s with just a " " character but that didn't fly either.