[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gawk] 4.7 Defining Fields by Content
From: |
Andrew J. Schorr |
Subject: |
Re: [bug-gawk] 4.7 Defining Fields by Content |
Date: |
Mon, 14 Mar 2016 14:36:49 -0400 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Mon, Mar 14, 2016 at 05:28:36PM +0100, Marco Coletti wrote:
> Of course linefeeds are still a problem.
> RS cannot differentiate between linefeeds inside and outside of quotes.
> A workaround could be to terminate records with "#\"\n" then set
> RS="#\"\n", since this 3 characters sequence cannot possibly appear inside
> fields. Of course this is not RFC 4180 anymore.
>
> Unfortunately my C/C++ skills are very rusted!
OK. Eventually somebody will volunteer to write the C code to solve this
problem properly.
Regards,
Andy