/slow

Prints piped input. Slow.

Primary LanguageC++

Slow

Prints piped input. Slow.

Tired of chunks of text reaching lightspeed in your terminal. All you wanted was to read a 10GB log file one line at a time? Look no further. Read slow.

Usage

> cat rhyme.txt | slow
Mary had
a little
lamb.

> kubectl logs -n kube-system k8s-api-server -f | slow 500
I1018 11:51:00.261928       1 log.go:172] http: TLS handshake error from 192.168.1.15:39533: EOF
I1018 11:51:10.262008       1 log.go:172] http: TLS handshake error from 192.168.1.15:39530: EOF
…

Installation

> make install
g++ main.cpp -Wall -o slow
sudo chmod +x ./slow
[sudo] password for root:
sudo cp ./slow /usr/bin/slow

> slow