ocaml-csv
ocaml-csv copied to clipboard
Default reading from SDTIN
Could the code be changed so that if no filename is specified (including not specifying "-"), csvtool reads from standard input?
My expectation was that this would work like the following example:
$ cat my.csv
digit,name
1,one
2,two
$ csvtool col 2 my.csv | csvtool drop 1 # Note the lack of `-`
one
two