/ Published in: Bash
URL: http://bash.im
Cuckoo-clock in bash. Simple as it says. Original idea from bash.org.ru.
Expand |
Embed | Plain Text
#!/bin/bash KUKU=`/bin/date +%I` DEVICE=/dev/dsp FILE=/home/kolo/kuku.wav while [ $KUKU -gt 0 ]; do cat $FILE > $DEVICE sleep 1 KUKU=$((KUKU-1)) done
You need to login to post a comment.
