Skip to content

Interpolated percentiles, markdown-tabular output format, CSV-quote preservation

Compare
Choose a tag to compare
@johnkerl johnkerl released this 03 Jul 17:39

Major features:

Minor features:

  • You can now set a MLR_CSV_DEFAULT_RS=lf environment variable if you're tired of always putting --rs lf arguments for your CSV files: http://johnkerl.org/miller/doc/file-formats.html#CSV/TSV/etc.
  • The printn and eprintn commands for mlr put are identical to print and eprint except they don't print final newlines.
  • It is now an error if boundvars in the same for-loop expression have duplicate names, e.g. for (a,a in $*) {...} results in the error message mlr: duplicate for-loop boundvars "a" and "a".
  • The strptime function would announce an internal coding error on malformed format strings; now, it correctly points out the user-level error.

Bug fixes:

  • Percentiles in merge-fields were not working. This was fixed; also, the lacking unit-test cases which would have caught this sooner have been filled in.
  • Miller's CSV output-quoting was non-RFC-compliant: double-quotes within field names were not being duplicated. This has been fixed (#104).

Brew update: Homebrew/homebrew-core#2698