On Mon, 01 Mar 2010 17:16:51 +0000 Marcus Heine wrote: > > at the same prompt you run the script (that fails) from > > what does this command output > > trap > > > Output below, also enhanced with trap command exit stati.
> So it looks like in my environment it does not seem to accept the trap > definition (trap trap_QUIT QUIT), however the exit status of that command > is 0. > $ ./ttt.ksh ... > trap -- '' QUIT this shows that QUIT is ignored inside the script at the same prompt that you ran ./ttt.ksh from, run the following command trap and send the output -- I (and dgk) expect that QUIT is also ignored in your interactive shell -- and that would implicate your .profile or $ENV file (and possibly ~/.kshrc depending on how your local administration)