thanks, all you guys. I have figured out the cause of the problem.
the new database name happens to be "prod". So when I do a grep for the
database name it also grep the word product which happens to be in the very
line of the text file. The if statement then give me the "unknow test
I didn't post the script because the whole script is distributed in several
Thanks again guys.