Created
November 15, 2015 14:11
-
-
Save mcalavera81/8d031981cfdbefbee294 to your computer and use it in GitHub Desktop.
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
sleeping=1 | |
if [ "$1" != "" ]; then | |
sleeping=$1 | |
fi | |
echo " (___)" | |
echo " (o o)____/" | |
echo " @@ \\" | |
echo " \ ____, /" | |
echo " // //" | |
echo " ^^ ^^" | |
echo "Cowd started." | |
echo "Mooing every $sleeping seconds." | |
start=$(date +%s) | |
while true | |
do | |
now=$(date +%s) | |
echo "$(($now-$start)) Moo!" | |
sleep $sleeping | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment