tFix help text - exercise_time - announce workout exercises with notifications and speech synth
 (HTM) git clone git://src.adamsgaard.dk/exercise_time
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) LICENSE
       ---
 (DIR) commit ad7f3cebea9b231c47711a0113377ed2b98ce492
 (DIR) parent 1c5435ac58e13798403399720e67b83b520276ec
 (HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
       Date:   Sun, 10 Mar 2019 21:48:25 +0100
       
       Fix help text
       
       Diffstat:
         M exercise_time.sh                    |       9 +++++----
       
       1 file changed, 5 insertions(+), 4 deletions(-)
       ---
 (DIR) diff --git a/exercise_time.sh b/exercise_time.sh
       t@@ -22,7 +22,7 @@ WAITSECS=120
        SPEECHSYNTH=1
        
        function usage {
       -    echo "Usage: $1 <SETS> <EXERCISE>"
       +    echo "Usage: ${0##*/} <SETS> <EXERCISE>"
            echo "Example: For three sets of ten pushups, use:"
            echo "   $0 3 'Do ten push ups'"
        }
       t@@ -35,14 +35,15 @@ fi
        # stop mpd if it is running
        #mpc pause &> /dev/null
        
       +UNAMESTR="$(uname)"
       +
        # announce exercise the specified number of times
       -UNAMESTR=`uname`
        
        # Only send notification at work
        if [[ "$UNAMESTR" == 'Darwin' ]]; then
       -    IP=`/sbin/ifconfig | grep 10.9.62` # Sayre Hall
       +    IP=$(/sbin/ifconfig | grep 10.9.62) # Sayre Hall
        else
       -    IP=`ip addr | grep 192.168.40`
       +    IP=$(ip addr | grep 192.168.40)
        fi
        
        for ((i=0; i<$1; i++)); do