1 unstable release
Uses new Rust 2024
| 0.1.0 | Dec 26, 2025 |
|---|
#431 in Text processing
28KB
708 lines
linestats
Groups similar lines from stdin or a file and replaces numbers with statistical summaries.
Example
Input:
Time: 10 ms
Time: 20 ms
Output:
Time: 10-20(15+/-5) ms
Lines which don't match others are preserved; floating point and negative numbers are supported.
Options
--trim-outliers Remove min and max before computing statistics --percentiles Replace mean/stddev with percentiles
Author
Rusty Russell [email protected] is to blame: send me bug reports!
Dependencies
~1–1.6MB
~29K SLoC