Thank you Guy.
I expect you are write that the problem is that it was written for /bin/sh and I was using /bin/bash. What I did find is that if I commented out any if statements that utilized "==" comparators, it worked just fine. I get it -- that is a bit hacky, but in the near term, it seems to work. Honestly, I didn't think enough about it to run it using sh instead of bash...
Again, thank you.
Robert