Documentation

Miller – powerful command-line data processing tool

Miller is a command-line utility for manipulating structured data without having to import it into a spreadsheet, database or statistical computing environment. Unlike traditional UNIX utilities that primarily operate on lines and numbered fields, Miller understands records containing named fields.

Invoked using the mlr command, the software provides a collection of operations known as verbs. Multiple verbs can be chained together to construct sophisticated data-processing pipelines within a single invocation. Miller is particularly useful for preparing datasets, analysing application logs, extracting information from database exports and automating routine transformations.

This is free and open source software.

Key Features

  • Supports CSV, TSV, JSON, JSON Lines, DKVP, NIDX and other structured data formats.
  • Converts between supported input and output formats.
  • Select, rename, reorder, remove and derive fields.
  • Filter records using conditional expressions.
  • Sort, group, join, sample and deduplicate records.
  • Calculate descriptive statistics, frequencies, percentiles and regression statistics.
  • Domain-specific language with variables, control structures, user-defined functions and nested data structures.
  • Built-in functions for mathematical operations, regular expressions, timestamps and type conversion.
  • Streaming processing for operations that do not require retaining the complete dataset in memory.
  • Handles records with differing field names and schemas within the same input stream.
  • Machine-readable command documentation and expression validation.
  • Built-in Model Context Protocol server and agent integration facilities.
  • Cross-platform support – runs on Linux, macOS, and Windows.

Website: github.com/johnkerl/miller
Support:
Developer: John Kerl
License: BSD 2-Clause ‘Simplified’ License

Help for Miller

Miller is written in Go. Learn Go with our recommended free books and free tutorials.


Related Software

Alternatives to awk
gawkImplementation of the awk programming language
GoAWKPOSIX-compliant awk interpreter written in Go
MillerSmall and powerful CLI tool to do all your data processing
frawkSmall programming language for writing short programs processing textual data
chooseHuman-friendly and fast alternative to cut and (sometimes) awk
gemaGeneral purpose text processing utility based on the concept of pattern matching
mawkInterpreter for the awk programming language
ruplacerFind and replace text in source files
rawkPOSIX compatible AWK written in Rust
wakawk implementation for toybox and standalone
PAWKPython line processor
HawkHaskell text processor for the command-line

Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted