Zeta_Acosta, I answered this question in
this post. You will continue to have problems until you follow my advice.
Bart, to reproduce this error you must do two things. If you use our quote function on the first post in this thread, you will see the white space characters that get deleted since Zeta_Acosta did not use code tags. Notice that the line "EOD_USAGE" has some leading white space. So type some spaces or tabs in front of the capital E. And switch to the old bourne shell which cannot tolerate this situation. Now the script will fail for you too.
Zeta_Acosta, one more time, all you need to do is make the capital E be the very first character on the line. No leading spaces or tabs. No trailing spaces or tabs. Nothing at all on the line except EOD_USAGE. Give it a try.
And if you will not try this, do not open a third thread to post the same question again. Instead, post the question again in one of your pre-existing threads. That will save some time.