view test.sh @ 11:8a6b1684f536

refactored.
author Robert McIntyre <rlm@mit.edu>
date Thu, 27 Oct 2011 02:27:02 -0700
parents 5dfc9e768816
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