3 ms·
I wish Awk had built-in csv (with quotes, commas inside quotes, etc) parsing support...
by coldtea 4y ago
I wish Awk had built-in csv (with quotes, commas inside quotes, etc) parsing support...
- sargstuff 4y agotyingq in this post noted requirements for cvs support in awk via library.
- kazinator 4y agoGNU Awk can recognize fields using a regular expression, rather than separators. See the "Defining Fields by Content" topic in the manual, which is based around the FPAT variable, specific to Gawk: https://www.gnu.org/software/gawk/manual/html_node/Splitting-By-Content.html https://www.gnu.org/software/gawk/manual/html_node/Splitting...