mitogen/tests/data/iter_read_generator.sh

11 lines
148 B
Bash
Raw Normal View History

#!/bin/bash
# I produce text every 100ms, for testing mitogen.core.iter_read()
i=0
while :; do
i=$(($i + 1))
echo "$i"
sleep 0.1
done