bug-gawk
[Top][All Lists]
Advanced

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

RE: Parse CVS in awk


From: pjfarley3
Subject: RE: Parse CVS in awk
Date: Sat, 11 Apr 2020 00:14:56 -0400

Peter B.,

I was able to APT SEARCH csvtool from the Windows 10 WSL environments for 
Debian 9 and Ubuntu 18.04 without any trouble, so I expect that APT INSTALL 
would work without a problem.

Not the most recent version though; the github version is up to 2.4 but the 
"oldstable" version available via APT is 1.5 (May 2016 according to the 
author's github site).

sudo apt search csvtool
[enter password for sudo]
Sorting... Done
Full Text Search... Done
csvtool/oldstable 1.5-1+b1 amd64
  handy command line tool for handling CSV files

or

sudo apt search ocaml csv
[enter password for sudo]
Full Text Search... Done
csvtool/oldstable 1.5-1+b1 amd64
  handy command line tool for handling CSV files

libcsv-ocaml-dev/oldstable 1.5-1+b1 amd64
  library to read and write CSV files in OCaml

Personally I have been using another project called "miller" for some personal 
csv projects, and have found it useful:

http://johnkerl.org/miller/doc/index.html       Documentation and a link to the 
github repository

YMMV, the tools we choose to use are a very personal decision.

I still use gawk regularly and will continue to do so.

Thank you Manuel for your sharp understanding of FPAT and CSV processing.  I 
will be saving that FPAT pattern in my gawk library along with the CSVRECORD 
code.

Peter F.

> -----Original Message-----
> From: bug-gawk <bug-gawk-bounces+pjfarley3=address@hidden> On
> Behalf Of Peter Brooks
> Sent: Friday, April 10, 2020 9:19 PM
> To: Manuel Collado <address@hidden>
> Cc: Carl Friedberg <address@hidden>; bug-gawk <address@hidden>
> Subject: Re: Parse CVS in awk
> 
> Also, you can't install it with apt-get. You need to get it from git:
> 
> wget https://github.com/Chris00/ocaml-csv/archive/master.zip
> 
> On Fri, 10 Apr 2020 at 22:16, Manuel Collado <address@hidden>
> wrote:
> 
> > El 10/04/2020 a las 15:54, Carl Friedberg escribió:
> > > Manuel,
> > >
> > > Thank you for that link, you have expanded my horizons! And, Tim
> > > Berners
> > Lee is in on this.
> >
> > Thanks ;-), but note that it wasn't me but Peter Brooks who provided
> > the link to csvtool.
> >
> > Regards.
> >
> > >...
> > > -----Original Message-----
> > > From: bug-gawk <bug-gawk-bounces+friedberg=address@hidden> On
> > Behalf Of Peter Brooks
> > > Sent: Friday, April 10, 2020 12:53 AM
> > > To: Manuel Collado <address@hidden>
> > > Cc: bug-gawk <address@hidden>
> > > Subject: Re: Parse CVS in awk
> > >
> > > You might find this a useful tool:
> > >
> > > https://colin.maudry.com/csvtool-manual-page/
> > >
> > --
> > Manuel Collado - http://mcollado.z15.es
> >
> 
> 
> --
> Peter Brooks
> 
> Skype:  Fustbariclation
> Twitter: Fustbariclation
> Author Page: amazon.com/author/peter_brooks




reply via email to

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