Hello Thorsten, i wrote a buggy shell script similar to the crap below, but it crashed mksh(1):
cat > t.sh <<_EOT trap "echo au; kill $$" TERM trap "echo exit" EXIT zap=`kill -TERM $$` echo after zap exit _EOT An interactive shell or '/usr/bin/mksh -c "exec ./t.sh"' limits the storm in the same way that bash(1) does, but running the script directly will loop until crash. (dash(1)s HEAD behaves the very same btw.) --steffen