At 21:39 2010-04-07, you wrote: >Is the space before the ";" relevant? While my bash work was years ago, I think the ";" itself may be an issue. When placed before the "then" the semicolon terminates the following construct early: if <condition> then statement ; The semicolon essentially becomes a null statement Regards. John