Are there any command line tools that would make it easy to display rate information based on a stream of newline separated numbers? For example average count per second/minute and total count so far.Here's an example source of input:counts.pyimport randomimport timewhile True:    print random.randint(1, 100)    time.sleep(1)
displaying rate information from stream of numbers
bash