4 ms·
csvtool: https://forge.ocamlcore.org/plugins/scmgit/cgi-bin/gitweb.cgi?p=csv/csv.git;a=blob;f=examples/csvtool.ml;h=950e9aa6705c45f1315b285d055033e42b5d9ea4;hb
by rwmj 12y ago
csvtool:
https://forge.ocamlcore.org/plugins/scmgit/cgi-bin/gitweb.cgi?p=csv/csv.git;a=blob;f=examples/csvtool.ml;h=950e9aa6705c45f1315b285d055033e42b5d9ea4;hb=HEAD#l512 https://forge.ocamlcore.org/plugins/scmgit/cgi-bin/gitweb.cg...
You will already have this program in your Linux distro since I wrote it about a decade ago and it has been maintained by a small team ever since then. It also handles all the quirks of Excel CSV files and is used extensively in production.
- zmmmmm 12y ago> You will already have this program in your Linux distro Yum disagrees on CentOS 6.4.
- jacktasia 12y agoIt's actually in the package "ocaml-csv.x86_64" on CentOS 6.4, which does come up if you "yum search csvtool" (for me anyway)
- zmmmmm 12y agoAh, apologies then. I actually saw that but completely discounted it because it looked like an OCaml library rather than a command line tool!
- rwmj 12y agoThis works with yum for installing programs: yum install /usr/bin/csvtool