#/usr/bin/tcsh
foreach i (`/bin/ls .)
    /class/cs/ml/puzzles/a.out < i >> cwdb.txt
end