adren67·4 ปีที่แล้ว·discussI completely agree that rg/ripgrep is a way better alternative to most grep implementations including GNU grep not only in terms of featurecheck https://beyondgrep.com/feature-comparison/ for a detailed comparisonbut also in terms of speed, including the fact that ripgrep allows greping by default in compress files, many different encoding and more!This software is really a must-have for anyone who spends some time on the CLI
adren67·4 ปีที่แล้ว·discussMiller is also a great tool to do computation, transformations on CSV/TSV/JSON/SQLite files...Here is the way to pretty-print the same result with mlr:mlr --icsv --opprint --barred stats1 -a count,mean -f total_amount -g passenger_count then sort -f passenger_count taxi.csv
check https://beyondgrep.com/feature-comparison/ for a detailed comparison
but also in terms of speed, including the fact that ripgrep allows greping by default in compress files, many different encoding and more!
This software is really a must-have for anyone who spends some time on the CLI