runall.sh 108 B

123456789
  1. #!/usr/bin/env bash
  2. for var in "$@"; do
  3. ./$var
  4. if [ $? -ne 0 ]; then
  5. exit 255
  6. fi
  7. done