Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

headers: trim quote and space with --trim option #726

Merged
merged 1 commit into from Jan 14, 2023
Merged

Conversation

jqnatividad
Copy link
Owner

Unfortunately, when googling for "example CSV", one of the top-ranking results is https://people.sc.fsu.edu/~jburkardt/data/csv/csv.html which has all malformed CSVs, with headers with confusing leading/trailing spacing and quoting.

It still parses, but the resulting headers have excess space/quote characters that are valid, but "look" wrong.

The --trim option trims these excess space/quote characters so they "look" right.

@jqnatividad jqnatividad merged commit d8d808a into master Jan 14, 2023
@jqnatividad jqnatividad deleted the headers-trim branch January 15, 2023 00:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant