OK, no ksh on the system. Grrrr. I understand what you're doing, though, and I'll rewrite it in bash or csh. Or, I'll give your alternate version a try.

Thanks again,

Jim