John Kerl
John Kerl
@Poshi this makes sense! :)
Hi @sjackman ! Sorry for the long delay. (1) There is `--prepipe` and `--prepipex` (3) Using [Miller 6](https://johnkerl.org/miller6/new-in-miller-6) the auto-decompress by filename extension comes for free -- no `-z` required....
> I was thinking that mlr -P could execute pv if it were installed, rather than reinvent that wheel ooh nice ... will think on ... :)
Thanks @forbesmyester !
Wow @aborruso very sorry I did not see this sooner!! :(
@aborruso unpaireds don't get the prefixing, intentionally. (Unpaired records are emitted as-found.) Maybe they should?
In Miller 6 (the as-yet-unreleased [Go port](https://github.com/johnkerl/miller/issues/372)) there is now support for JSON arrays. So this works: ``` mlr --icsv --ojson --from mtcars.csv cut -f mpg,wt then put -q '...
I can also make a verb which does this kind of thing ... or maybe just a recipe item for the Miller docs -- ? Part of me is tempted...
Really this is a kind of sideways display. CC @aborruso and @ashmishr with regard to https://github.com/johnkerl/miller/issues/321.
A way to reuse this code more easily: ``` $ cat mkstan.mlr for (k, v in $*) { @output_record[k][NR] = v; } end { emit @output_record } ``` Then ```...