Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

User guide

A Fastmash command has this shape:

fastmash [OPTIONS] OPERATION FIELDS [OPERATION FIELDS ...]
fastmash [OPTIONS] -g KEYS OPERATION FIELDS ...
fastmash [OPTIONS] MODE ...
fastmash [OPTIONS] top:N FIELD
fastmash [OPTIONS] compare BEFORE AFTER [rank RESULT [absolute|percent] [limit N]] OPERATION FIELDS ...
fastmash [INPUT OPTIONS] health [CONTROLS]

Fastmash reads records from standard input, splits each into fields, and applies the requested operations. It writes results to standard output and diagnostics to standard error, and reports success or failure through its exit status.

PageCovers
Fields and inputField selectors, separators, headers, record terminators, comments, missing values
Quoted CSV and result namesExplicit CSV formats, quoting rules and stable output labels
OperationsEvery summary statistic, with parameters and edge cases
Weighted meanContribution weights, complete-pair omission and numerical limits
Grouping and sorting-g, -s, case-insensitive grouping, crosstab
Highest and lowest recordsComplete-record selection, stable ties, groups and capacity limits
Dataset comparisonBefore/after summaries, global key alignment and change ranking
Table health reportsInspection, supplied validation rules and versioned TSV output
Per-row operations and modesRounding, binning, checksums, paths, cut, transpose, check, rmdup
Numbers, output and localesNumber formats, --format, --round, locales, portable results
Terminal colorHelp, health and failure styling, detection and suppression
Errors, exit statuses and resourcesWhat can fail, how it is reported, memory and disk use
Differences from GNU datamashEvery intentional difference

fastmash --help prints a complete summary of operations and options.