|
From: | Manuel Collado |
Subject: | Re: CSV extension status |
Date: | Tue, 18 May 2021 23:47:51 +0200 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 |
El 18/05/2021 a las 17:58, Neil R. Ormos escribió:
What would be really useful to me would be a facility that transparently and efficiently treats real-world CSV input as though the equivalent input had been received as FS-separated input, with sensible handling of embedded newlines. By "transparent" I mean with the same side-effects and without additional vexatious restrictions.
That is exactly the goal of gawk-csv with CSVMODE=1, and CSVMODE with CSVMODE=-1. The original CSV notation is discarded and clean text field values are delivered, separated by a suitable OFS mark (null char, or SUBSEP, to prevent interference with real-world data).
Regards. -- Manuel Collado - http://mcollado.z15.es
[Prev in Thread] | Current Thread | [Next in Thread] |