1 2 3 4 5 6 7 8 9 10
#!/bin/sh for file in test-*; do if test $# -eq 0; then ./"$file" exit 1 fi echo "$file:" ./"$file" "$@" done