in reply to Re^2: Code behaves differently in script and on command linein thread Code behaves differently in script and on command line