lib.sh 230 B

12345678910111213
  1. docatcher() {
  2. echo 'Trigger some async actions, shell should not exit'
  3. echo 'Then exit catcher with C-d'
  4. if [ ! -f ./catcher ]; then
  5. make catcher
  6. fi
  7. ./catcher
  8. }
  9. endless() {
  10. while : ; do foo=a; done
  11. }