Is there a command line tool or ruby โโlibrary for cleaning / fixing invalid .csv files, something like tidy for html?
Error example: unshielded double quotes without repeating.
Related to: Regular expression for finding and replacing unquoted double quotes in a CSV file .
You are looking at this program http://www.flat-file.net/ . Its assembly using .net however has a command line option.