drip takes data via standard input and outputs it, one line at a time, via standard output. After each line has been printed, drip waits for a while before printing the next line.
This is useful if you want to limit the rate at which lines are fed to a program, e.g. to limit resource usage.
$ drip -hUsage:dripdrip DELAYdrip MIN_DELAY MAX_DELAYdrip takes lines of text via standard input and outputs them at alimited rate. If no argument is given, a delay of 1s will be usedbetween lines. If one argument is given, a constant delay will be used.If two arguments are given, a random delay between MIN_DELAY and MAX_DELAYwill be used.Delays must be numbers, suffixed with a unit: us, ms, s, m or h.If the delay is below 25ms, multiple lines will be printed at once dueto technical limitations. Delay ranges are not allowed here.Examples:yes 'Hello, world!' | drip 500mscat /path/to/chat/msgs | drip 10s 1m30s | send_chat_message -to paulYou can download precompiled binaries from the releases
page or install it with
go install github.com/codesoap/drip@latest.