#!/bin/sh echo "Check the amp is on and not muted." time="$1" if [ "$time" = "" ] ; then echo "Usage: alarmclock HH:MM" exit 1 fi now="x" while [ "$now" != "$time" ] ; do now=`date +%H:%M` echo -ne "$now"'\r' sleep 10 done play ~/Sound/samples/beeper1.wav