Bug#995617: ITP: csvquote -- smart and simple CSV processing on the command line

2021-10-12 Thread Romain Porte
Hi Jonas,

03/10/2021 13:01, Jonas Smedegaard :
> Quoting Romain Porte (2021-10-03 12:22:46)
>> Package: wnpp
>> Severity: wishlist
>> Owner: Romain Porte 
>> X-Debbugs-Cc: debian-de...@lists.debian.org, 
>> debian-scie...@lists.debian.org, deb...@microjoe.org
>>
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA512
>>
>> * Package name: csvquote
>>   Version : 0.0~20180528
>>   Upstream Author : Dan Brown 
>> * URL : https://github.com/dbro/csvquote
>> * License : Expat
>>   Programming Lang: C
>>   Description : smart and simple CSV processing on the command line
>>
>> This tool can be used to escape problematic characters from
>> CSV file using a pipe. Then, the CSV entries can be processed
>> by regular UNIX tools like awk. Finally, calling `csvquote -u`
>> reverts the escaping codes in order to create back the CSV data.
>>
>> I plan to release this tool in the debian-science team, or if no
>> answer from this team under my own name.
> Please mention in long description how this tool is different from 
> seemingly similar tools csvtool, csvkit, textql, and ffe.

I think the provided long description is clear: the tool is only capable
of escaping characters, and is thus very minimalistic. All of the
processing power proposed by {csvtool,csvkit,textql,ffe} is not
available in this tool because the purpose is completly different. The
processing can be made using regular coreutil tools like awk, cut, head,
tail, etc.. and then the data can be escaped back to proper CSV format
by calling the tool again with another option.

The tool is very simple and is composed of a single C source file,
making it both small and "doing one thing and one thing well". As it can
be composed with coreutil tools which are very likely to be installed,
the total footprint is minimal for trivial CSV manipulations — like
printing the third row with `csvquote | awk -f, '{print $3}' | csvquote
-u` — instead of having to use a full-featured tool/framework.

Please extend your request if I misunderstood it.

Best regards.




OpenPGP_signature
Description: OpenPGP digital signature


Bug#995617: ITP: csvquote -- smart and simple CSV processing on the command line

2021-10-03 Thread Jonas Smedegaard
Quoting Romain Porte (2021-10-03 12:22:46)
> Package: wnpp
> Severity: wishlist
> Owner: Romain Porte 
> X-Debbugs-Cc: debian-de...@lists.debian.org, debian-scie...@lists.debian.org, 
> deb...@microjoe.org
> 
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA512
> 
> * Package name: csvquote
>   Version : 0.0~20180528
>   Upstream Author : Dan Brown 
> * URL : https://github.com/dbro/csvquote
> * License : Expat
>   Programming Lang: C
>   Description : smart and simple CSV processing on the command line
> 
> This tool can be used to escape problematic characters from
> CSV file using a pipe. Then, the CSV entries can be processed
> by regular UNIX tools like awk. Finally, calling `csvquote -u`
> reverts the escaping codes in order to create back the CSV data.
> 
> I plan to release this tool in the debian-science team, or if no
> answer from this team under my own name.

Please mention in long description how this tool is different from 
seemingly similar tools csvtool, csvkit, textql, and ffe.


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

signature.asc
Description: signature


Bug#995617: ITP: csvquote -- smart and simple CSV processing on the command line

2021-10-03 Thread Romain Porte
Package: wnpp
Severity: wishlist
Owner: Romain Porte 
X-Debbugs-Cc: debian-de...@lists.debian.org, debian-scie...@lists.debian.org, 
deb...@microjoe.org

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

* Package name: csvquote
  Version : 0.0~20180528
  Upstream Author : Dan Brown 
* URL : https://github.com/dbro/csvquote
* License : Expat
  Programming Lang: C
  Description : smart and simple CSV processing on the command line

This tool can be used to escape problematic characters from
CSV file using a pipe. Then, the CSV entries can be processed
by regular UNIX tools like awk. Finally, calling `csvquote -u`
reverts the escaping codes in order to create back the CSV data.

I plan to release this tool in the debian-science team, or if no
answer from this team under my own name.

-BEGIN PGP SIGNATURE-

iQJIBAEBCgAyFiEE/0vnfqUe7n1fhjM4L/9j9YUbA+IFAmFZhHUUHGRlYmlhbkBt
aWNyb2pvZS5vcmcACgkQL/9j9YUbA+Lo/Q/6ArCRH6UZG/hL4PDQkJQTxVl8pUIk
6frjPHvlWd3Qv4rddujgQttOCyZadsEa7YiDMXBHkMijFgbK08sptZUO28Nl3pgJ
/7EW46EAHbfSGeN5RRzFmUUKwgu1onVIGWYygL1AonqE1eIE6NK/o4T64Md0TAKY
iKAzvAige3ZeTsbE0UTc6oZvusFJtzM6S6hkoVA7Pqpc4OPJvZlzO0xAHobVk4jk
voEmbkPzqbqXGyhLoIcJpbga6tr76eJgBg9Ilh/vPJy1FpTenIB6Cfia9zoOPHjm
l62Aqi3gCgAOoviLY78UQRylKhK4ESsIUzVv7/XYRC6Ik7fqD1Inm7jlFjnap8Uk
kOldWOo2o4jDioj1Mnp/FUNsNqcM8J/SCk5Jr6IL/pDLmm7cIAkpmvX0rEB6mnJr
vJefUZ8vzBrBZUdfB6WLL02Cq+h6+xrEyXHif5a1b3dDJMLPOsHZo/RwCA6nq9mt
3jZ1lBzyJS9Mbnp7zPsbGTWSQXafNTM02y6nIQK7zQspNC78Fmf7prq0tzXEm91V
jfUPvB7m3M1s3aUUZxD2FQjsZV5TUZOupo8uLSfdssbSLwDtbBgDVKIQKxfvjqoL
aBqsfZZQtkyrj2HffoGVVGKo97D0AxQ+UD6Vtl5rDwv0Ytl7e/nJeGEFo2zzJoGe
gE3VuJ9xa1LqSNI=
=fzDw
-END PGP SIGNATURE-