On Mon, Mar 14, 2016 at 09:40:14AM +0100, Marco Coletti wrote:
This is just short of what is needed to correctly parse RFC 4180
formatted data, in that it does not account for double quotes
appearing as part of a field.
But even with the enhanced FPAT you propose, unless I'm confused,
it still won't work with records containing embedded linefeed
characters. We have discussed in the past developing a CSV
input parser extension, but nobody has implemented it yet.
If you'd like to develop it, we would welcome the contribution
of such an extension, possibly for the gawkextlib project if not
appropriate for inclusion in mainline gawk.
Regards,
Andy