Skip to content

cli table tools

From csv

miller

like awk, sed, cut, join, and sort for name-indexed data such as CSV, TSV, and tabular JSON

  • Docs
  • GitHub
    • Actively maintained, >8k commits
  • Can output Markdown tables from CSV
  • Arch package
  • Example: cat long.csv | mlr --csv -o md cat

CsvToMarkdownTable

  • GitHub
  • NodeJS
  • Actively maintained, ~250 commits
  • Not packages in Arch
  • Very few cli options
  • No Option to remove quotes from CSV
  • Properly escapes pipe symbols in csv
  • Example: cat simple.csv| npx csv-to-markdown-table --delim ',' --headers

cvs2md

  • GitHub
  • AUR package
  • converts CSV files into Markdown tables
  • Python, last commit 2024-03
  • Packaged as AUR package csv2md-git
  • No option to specify the max width of columns
  • Properly removes quotes from csv
  • Example: cat simple.csv | csv2md

Issues

other

  • table
    • Packages as AUR package table
    • Can't produce markdown
  • csvtotable Last commit 2021
  • csvtomd
    • Last commit 2018

From Markdown