GNU-like terminal tool for rendering CSV files
$ ec my_data.csv
┌─────┬─────┬─────┐
│ ABC │ DEF │ GHJ │
└─────┴─────┴─────┘
$ echo abc,def,ghj | ec
┌─────┬─────┬─────┐
│ ABC │ DEF │ GHJ │
└─────┴─────┴─────┘
It is designed to be used in a series of GNU commands:
echo "great,row,full,of,goodies\nboring,row,that,i,dislike" | grep great | ec
┌───────┬─────┬──────┬────┬─────────┐
│ GREAT │ ROW │ FULL │ OF │ GOODIES │
└───────┴─────┴──────┴────┴─────────┘
$ ec --help
Usage of ec:
$1 string
filename
ec my_csv.csv
-f string
filename
ec -f my_csv.csv
- Filter rows by search, retaining headers
- tsv support
- autodetect delimiter
- styling parameter