reg String comparision

Hi, I would like to compare the 25th position of the file with the character '(' and if it is not equal then it would generate a mail. I have used the below if condition, however it is always executing the code within if, even the comparison is expected to return false.

if [ `cat myfile.txt | cut -c25-25` != '(' ]

Please help me out of this.

Thanks,
Dheepan

okay=$(
awk 'BEGIN{ ok = 1}
       {if (substr( $0, 25,1) !="(") {ok=0} 
         continue  }
       END {print ok} ' filename )
if [[ $okay -ne 1 ]] ; then
     echo " bad character in position 25 " | \
        /usr/bin/mailx -s 'bad file' me@mycomputer.com
fi