Huh, I never gave any thought to the fi as being the end of an if statement, but that makes sense. Ok I'll check it out and I think there just might be more than one hanging in there. I guess the real question is when you get an error from the shell that says error in line 227, does that line count include the comment lines as well? In other words does it mean you can pull the file into your edit, go to line 227, and remove the offending problem? Never was 100% clear on this point. tnx