slowcat

Crates.ioslowcat
lib.rsslowcat
version1.0.0
sourcesrc
created_at2023-12-20 21:08:17.975313
updated_at2023-12-20 21:08:17.975313
descriptionPrints the contents of files with a specified delay between each line.
homepagehttps://github.com/lquenti/slowcat
repositoryhttps://github.com/lquenti/slowcat
max_upload_size
id1075908
size22,334
Lars Quentin (lquenti)

documentation

README

slowcat

Prints the contents of files with a specified delay between each line.

Why I built it

I wanted to get a feel for my benchmarks, so I wrote for file in *.txt; do cat $file; sleep 0.2; done. This only works when the files are smaller than the screen, which at some point they weren't anymore. So I want a way to go through files just slow enough so that I can spot any anomalies and error stack traces.

Installation

cargo install slowcat

Usage

# default to -n 0.2 (0.2sec per line)
slowcat -n 0.05

Other Projects

https://github.com/mreishus/slowcat if you want to get every character out slow.

Commit count: 16

cargo fmt