Re:Csvkit - command line utilities for working with csv files
by ralph on Wednesday January 18, 2012 @06:40AM
(#3479132)
IIRC Aho, Weinberger, and Kernighan's excellent slim tome _The Awk Programming Language_ implements something similar; awk is used to generate the awk with Field1 replaced by $1, etc.
[ Parent
| on HN ]
Re:Csvkit - command line utilities for working with csv files
by veyron on Wednesday January 18, 2012 @11:12AM
(#3480356)
It's not that simple because you have to properly handle stuff like "blah,blah" which is supposed to be treated as one block (but blindly using awk -F, will give you two separate fields)