Tests need to be in square brackets ''
if [ $c = $a ]
# do something
I usually put strings in double quotes and leave numbers bare
if [ "$STRING1" = "hello" ] ....
if [ $COUNT -eq 7 ] ...
Please note there are different types of tests depending on the data types, here's a reference: