Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Add quotes to a csv file directly in the terminal
# Run this in terminal, then paste in csv into terminal window
ruby -rcsv -ne 'puts CSV.generate_line(CSV.parse_line($_), :force_quotes=>true)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.