3
0

signal1.right 368 B

1234567891011121314151617181920
  1. got signal
  2. trap -- 'echo got signal' USR1
  3. sent 1 signal
  4. got signal
  5. sleep interrupted
  6. trap -- 'echo got signal' USR1
  7. sent 2 signal
  8. got signal
  9. sleep interrupted
  10. trap -- 'echo got signal' USR1
  11. sent 3 signal
  12. got signal
  13. sleep interrupted
  14. trap -- 'echo got signal' USR1
  15. sent 4 signal
  16. got signal
  17. sleep interrupted
  18. trap -- 'echo got signal' USR1
  19. sent 5 signal
  20. sleep completed