codeinthehole / csvfilter

Command-line tool for manipulating CSV data
http://codeinthehole.com/writing/csvfilter-a-python-command-line-tool-for-manipulating-csv-data/
MIT License
75 stars 15 forks source link

Autodetection of separator char #10

Open cweiske opened 8 years ago

cweiske commented 8 years ago

It would be nice to have a -a option that would inspect the first line and auto-detect the separator character.

I'd simply look for comma, semicolon and tab and use that one which occurs most.