News for hackers. Stuff that matters.
Re:ASCII Delimited Text – Not CSV or TAB delimited text by dbro on Thursday March 27, 2014 @05:28AM (#7479341)
that's exactly what https://github.com/dbro/csvquote does for commas and newlines both.
Re:ASCII Delimited Text – Not CSV or TAB delimited text by gwu78 on Thursday March 27, 2014 @09:22PM (#7484692)
Why use this instead of sed, awk, flex, lua, etc.?

sed does the job and on almost all UNIX clones it never needs to be installed.

Because it's already there.