Comment Comment by dbro that's exactly what https://github.com/dbro/csvquote does for commas and newlines both. parent dbro 12 years ago