yes i noticed the ;; were missing i added myself should test it tonight and tell you the results
Nokia-N900:~# sh /home/user/MyDocs/batteryLED/led5testing 47 sh: color: bad number sh: color: bad number sh: color: bad number sh: color: bad number sh: color: bad number