Created
October 18, 2013 03:37
-
-
Save yfuruyama/7036139 to your computer and use it in GitHub Desktop.
Practice for number in English
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
interval_sec=1 | |
say_rate=240 # words/minute | |
while : | |
do | |
number=$RANDOM # RANDOM is between 0 and 32767 in bash | |
say -r ${say_rate} ${number} | |
sleep ${interval_sec} | |
echo ${number} | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment