News for hackers. Stuff that matters.
Re:Modernizing AWK, a 45-year old language, by adding CSV su... by parasense on Thursday May 12, 2022 @05:58PM (#31360630)
I alway just use awk to process csv files.

    awk -F '^"|","|"$|,' '{print $2,$3}' whatever.csv
The above works perfectly well, it handles quoted fields, or even just unquoted fields.... This snippet is taken from a presentation I give on AWK and BASH scripting.

That's the thing about AWK, it's already does everything. No need to extended it much at all.

Re:Modernizing AWK, a 45-year old language, by adding CSV su... by CRConrad on Friday May 20, 2022 @07:20AM (#31445866)
What about fields with "," in them?