linestats

Crates.iolinestats
lib.rslinestats
version0.1.0
created_at2025-12-26 04:28:45.590891+00
updated_at2025-12-26 04:28:45.590891+00
descriptionGroup similar text lines and compute numeric statistics
homepage
repositoryhttps://github.com/rustyrussell/linestats
max_upload_size
id2005259
size76,837
Rusty Russell (rustyrussell)

documentation

README

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 rusty@rustcorp.com.au is to blame: send me bug reports!

Commit count: 0

cargo fmt