OCaml library for reading and writing CSV fileshttps://forge.ocamlcore.org/projects/csv/
This OCaml library can read and write CSV files, including all
extensions used by Excel - eg. quotes, newlines, 8 bit characters in
fields, quote-0 etc.
The library comes with a handy command line tool called csvtool for
handling CSV files from shell scripts.