3 PRIMES_FILE
=first-500.txt
4 PROGRAMS
="prime.aikido prime.sh prime.py"
10 for num
in $
(cat $PRIMES_FILE); do
11 .
/${prog} $num 1> /dev
/null
20 for prog
in $
(echo $PROGRAMS); do
21 printf "\nTesting: $prog\n"
23 file_primes_test
$prog
25 printf "\tprime_file FAILED for $num"
27 printf "\tprime_file PASSED\n"