diff test.sh @ 9:5dfc9e768816

moved files
author Robert McIntyre <rlm@mit.edu>
date Wed, 26 Oct 2011 08:54:12 -0700
parents
children
line wrap: on
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/test.sh	Wed Oct 26 08:54:12 2011 -0700
     1.3 @@ -0,0 +1,11 @@
     1.4 +
     1.5 +sound=/home/r/tmp/data1.wav
     1.6 +
     1.7 +if [ -e $sound ] 
     1.8 +then
     1.9 +    aplay /home/r/tmp/data1.wav 
    1.10 +    rm /home/r/tmp/data1.wav 
    1.11 +else
    1.12 +    echo "$sound does not exist."
    1.13 +fi
    1.14 +