Caltech Library logo


csv2mdtable [OPTIONS]


csv2mdtable reads CSV from stdin and writes a Github Flavored Markdown table to stdout.


Below are a set of options available.

    -d, -delimiter       set delimiter character
    -examples            display example(s)
    -generate-manpage    generate man page
    -generate-markdown   generate markdown documentation
    -h, -help            display help
    -i, -input           input filename
    -l, -license         display license
    -nl, -newline        if true include leading/trailing newline
    -o, -output          output filename
    -quiet               suppress error message
    -trim-leading-space  trim leading space in field(s) for CSV input
    -use-lazy-quotes     using lazy quotes for CSV input
    -v, -version         display version


Convert data1.csv to using Unix pipes.

cat data1.csv | csv2mdtable >

Convert data1.csv to using options.

csv2mdtable -i data1.csv -o

csv2mdtable v0.0.25