bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FPAT is not working as expected


From: Manuel Collado
Subject: Re: FPAT is not working as expected
Date: Mon, 21 Dec 2020 19:08:31 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0

El 21/12/2020 a las 14:44, Andrew J. Schorr escribió:
On Mon, Dec 21, 2020 at 01:39:00AM -0700, arnold@skeeve.com wrote:
Manuel Collado <mcollado2011@gmail.com> wrote:

You can avoid the burden of composing a working FPAT and removing the
quoting of the fields by using the CSVMODE gawk library available at

      http://mcollado.z15.es/xgawk/

Can this be merged into the one in gawkextlib?  That way we're
keeping useful extensions in just one place.

It is certainly possible to store any gawk utility in the gawkextlib repository. But please consider what follows.

The csvmode library is independent of the gawk-csv extension. It will be problematic to merge both tools into a single one.

All the tools in gawkextlib use the gawk API. Some potential users refuse to use them because of the lack of binary distributions for their platforms. And probably will not even look at what is available there.

What I miss is a central comprehensive store for free gawk code snippets than can help general users. Maybe at SourceForge, but separate from gawkextlib.


Adding to Arnold's question: how does this pure-gawk solution
compare to the gawkextlib version?

Pure-gawk code is surely slower than C code. And the user interface has been reworked. Migrating from gawk-csv to csvmode or vice versa will require changes in the user code.

I'm not clear on whether
the latter is in alpha, beta, or production.

I don't claim csvmode is a rock solid stuff. It works, but will be 0.x version until enough users use it without serious claims. So it is probably in beta state now.

Thank you for your interest. Kind regards.

--
Manuel Collado - http://mcollado.z15.es



reply via email to

[Prev in Thread] Current Thread [Next in Thread]