Linux bash/shell test script

# This script can be used to test functionality between Linux to Arduino serial comms.
# You will need to either run the serial monitor in the Arduino IDE or `cat /dev/<ttymxc3`
# to see the output. The script does not receive feedback, you need to check it yourself.
#
# PROTOCOL DETAILS:
# - ALL serial communication to Arduino must be within curly braces { }
# - ALL flags (eg. set time/date) have a special character sent immediately after the {
# - To set the Arduino date/time you must use the @ flag followed by the date/time in format  DD,MM,YYYY,hh,mm,ss
# Example: {@20,1,2014,21,01,40} Will parse to Jan 20th 2014, 9:01:40PM
# - To delete an entry in the alert array you must use the # flag followed by the exact alert text you wish to delete
# - To output the contents of the alert array (with date/time) to serial use the ? flag (ie: {?} )
# - Using a second ? will also output all configured options (ie: {??} )
# An example string that one may use to send from Linux is: echo "{Hello World}" > /dev/ttymxc3; echo "{?}" > /dev/ttymxc3