bug-gawk
[Top][All Lists]
Advanced

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

Re: Quotes being stripped by "--csv"


From: Ed Morton
Subject: Re: Quotes being stripped by "--csv"
Date: Fri, 24 Nov 2023 03:55:06 -0600

Arnold - I already know how to (and have scripts to) do whatever I need to do 
with or without FPAT, —csv, etc, as I work with various CSVs almost daily, I 
was just pointing out a need that I think awk users have that isn’t trivial 
with the existing tools but would be if we simply didn’t strip the quotes with 
some variation of —csv.

Thanks for considering my suggestion.

Ed Morton

> On Nov 24, 2023, at 2:58 AM, arnold@skeeve.com wrote:
> 
> Manuel Collado <mcollado2011@gmail.com> wrote:
> 
>>> El 23/11/23 a las 18:35, Ed Morton escribió:
>>> ...
>>> IMHO we don't need a CSV output mode, we just need a simple way to not 
>>> strip quotes when splitting input into fields and everything else the 
>>> user might want to do from there is trivial.
>> 
>> In that case just use FPAT. No need for -csv or anything else.
>> 
>> HTH. Regards.
>> -- 
>> Manuel Collado - http://mcollado.z15.es
> 
> FPAT doesn't handle embedded newlines. If that's not a problem,
> then yes, FPAT will do the trick.
> 
> In any case, I'm not planning to change gawk.
> 
> Ed, if you're desperate, we can talk about a small consulting job
> for me to supply you a personal source code patch, but let's
> do that offline.
> 
> Thanks,
> 
> Arnold
> 




reply via email to

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