savetrap.right 181 B

12345678
  1. trap -- 'echo Exiting' EXIT
  2. trap -- 'echo WINCH!' WINCH
  3. trap -- 'echo Exiting' EXIT
  4. trap -- 'echo WINCH!' WINCH
  5. trap -- 'echo Exiting' EXIT
  6. trap -- 'echo WINCH!' WINCH
  7. Done
  8. Exiting