test26.sh 222 B

123456789
  1. #! ./testshell
  2. echo "On SIGINT, this script should print a line and NIT exit, on SIGQUIT, it should exit"
  3. trap 'echo This should not just display something, not exit' 2
  4. trap 'echo SIGQUIT ; exit 1' 3
  5. #trap : 3
  6. ./hardguy