test04.sh 260 B

12345678910111213141516171819
  1. #!./testshell
  2. echo 'Test 4: Three shells all loop. You should be able to terminate this'
  3. echo ' script with just one SIGINT or SIGQUIT'
  4. if [ $ZSH_VERSION ] ; then
  5. source lib.sh
  6. else
  7. . ./lib.sh
  8. fi
  9. (
  10. (
  11. endless
  12. )
  13. endless
  14. )
  15. endless