1 2 3 4 5 6
#! /bin/sh for java in *.java do echo "############" && javac $java && java ${java%.java} done rm *.class