qsv
Blazing-fast toolkit for querying, slicing, sorting, analyzing, filtering, transforming, and validating tabular data. tldr-pages
On several platforms
Several platforms
Count the rows in a CSV file
qsv count path/to/file.csvIdentifySelect specific columns from a CSV file
qsv select column1,column2,... path/to/file.csvIdentifyFilter rows containing a regex or literal text
qsv search regex_or_text path/to/file.csvIdentifySort a CSV file by one or more columns
qsv sort --select column1,column2,... path/to/file.csvIdentifyCompute summary statistics and infer data types for each column
qsv stats path/to/file.csvIdentifyDisplay help
qsv --helpIdentifyDisplay version
qsv --versionIdentify