bash$ echo "$line" | od -c
0000000 # a n a l o g \n
0000011
bash$
---------- Post updated at 10:57 AM ---------- Previous update was at 10:45 AM ----------
i found my problem! My text file had a \n at the end. that was being compared...since this is a non-printable asci character, i did not see the problem when i was printing it out. Thanks for teh suggestion of using the od command....just curious what do 0000000 and 0000011 mean?