view 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 source

2 sound=/home/r/tmp/data1.wav
4 if [ -e $sound ]
5 then
6 aplay /home/r/tmp/data1.wav
7 rm /home/r/tmp/data1.wav
8 else
9 echo "$sound does not exist."
10 fi