Is there any command-line tool or ruby library to clean/correct invalid .csv files, something like tidy for html?
Example of error: unescaped non-successive double quotes.
Related to: Regular expression to find and replace unescaped Non-successive double quotes in CSV file.