How does this compare to JQ?
Aside for that it appears to support more formats (CSV [which has partial JQ support], and TSV), of course.
I find it very helpful when people compare their new toy or service with what is already pretty well known.
Aside for that it appears to support more formats (CSV [which has partial JQ support], and TSV), of course.
I find it very helpful when people compare their new toy or service with what is already pretty well known.
It is somewhat similar to JQ, but specifically for record based formats and not documents.
The example page [0] has quite a few nice examples.
A recent snippet from my own usage, looking for duplicate ids in a large-ish csv.gz:
mlr uniq -c -g id then filter '$count > 1'
mlr --ijson --ocsv filter '$success' then stats1 -a mean,min,max,stddev -f duration
[0]: https://miller.readthedocs.io/en/latest/data-examples.html