#! /bin/bash export "CLASSPATH=$CLASSPATH:.:$HOME/algs4/algs4.jar:$HOME/algs4/stdlib.jar" CLASSES="Point Brute Fast" rm *.class *.zip 2>/dev/null for kls in $CLASSES; do ~/algs4/bin/checkstyle ${kls}.java javac ${kls}.java done ~/algs4/bin/findbugs *.class echo "RUN..." java -enableassertions Point java Brute input6.txt java Brute input8.txt java Brute random152.txt java Fast horizontal5.txt java Fast input6.txt java Fast input8.txt java Fast input300.txt java Fast input400.txt java Fast random152.txt java Fast input1000.txt java Fast input10000.txt zip collinear.zip Point.java Brute.java Fast.java