#!/bin/sh

trap "echo Trapped" BADNAME TERM; echo $?
kill $$
echo Ok