99 Bottles of Beer

The interesting part about this is that you have to SIGINT or SIGTERM each verse individually…

#!/bin/bash
for i in `seq 1 99 | sort -rn`
do
    echo "$i bottles of beer on the wall. $i bottles of beer on the wall, $i bottles of beer. Take one down and pass it around." | festival --tts
done
Jun 23rd, 2008
Tags:
Comments are closed.