4 ms·
Miller v5.0.0: Autodetected line-endings, in-place mode, user-defined functions
- jordanthoms 10y agoThis is great - Now I just need to somehow remember this program when I next have a need for it...
- seanp2k2 10y agoSame. If they had called it something stupid like greptar, awkerator, or CHUCK NORRIS'S CSVIVIFIER I might actually be able to recall the name.
- john_kerl 10y agohttp://johnkerl.org/miller-releases/miller-5.0.0/doc/etymology.html http://johnkerl.org/miller-releases/miller-5.0.0/doc/etymolo..., if that helps ;)
- IanCal 10y agoI had no idea what this was and the release notes don't make it obvious, so from the main github page: > Miller is like awk, sed, cut, join, and sort for name-indexed data such as CSV, TSV, and tabular JSON http://johnkerl.org/miller/doc http://johnkerl.org/miller/doc https://github.com/johnkerl/miller https://github.com/johnkerl/miller
- vr46 10y agoWell, TIL that there's an awesome new tool I need immediately :)
- Royalaid 10y agoHow does this compare with similar tools like jq? I see CSV is a data input option.
- john_kerl 10y agoMore here http://johnkerl.org/miller-releases/miller-5.0.0/doc/why.html http://johnkerl.org/miller-releases/miller-5.0.0/doc/why.htm... but TL;DR is Miller handles several different file formats; jq is for JSON.
- skanga 10y agoWow - looks brilliant. I'll have to try it. I've always wanted awk with a native understanding of csv, tsv, json, etc. Does it have a binary for Windows?
- john_kerl 10y agoNot yet but it is a work in progress (the next to-do after the 5.0.0 release)
- skanga 10y ago/home/skanga/mlr.linux.x86_64: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /home/skanga/mlr.linux.x86_64) It would be useful to allow downloads of a binary that is compiled without any dependencies.
- john_kerl 10y agoregarding binaries -- at https://github.com/johnkerl/miller/releases/tag/v5.0.0 https://github.com/johnkerl/miller/releases/tag/v5.0.0 there are now macosx, linux i686 static, and linux x86_64 static binaries