savetrap.tests 127 B

123456789
  1. trap 'echo Exiting' EXIT
  2. trap 'echo WINCH!' SIGWINCH
  3. v=` trap `
  4. echo "$v"
  5. v=$( trap )
  6. echo "$v"
  7. v=`trap`
  8. echo "$v"
  9. echo Done