temp file exists got USR1 after USR1 got TERM after TERM: traps run between commands sub HUP status 4 child INT child status 5 trap in subshell subshell continues ignored USR1 trap sees status 0 end cleaned up [status 0]