#! /bin/bash export "CLASSPATH=$CLASSPATH:.:$HOME/algs4/algs4.jar:$HOME/algs4/stdlib.jar" CLASSES="Deque RandomizedQueue Subset" 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..." echo A B C D E F G H I | java Subset 3 echo A B C D E F G H I | java Subset 3 echo A B C D E F G H I | java Subset 3 echo AA BB BB BB BB BB CC CC | java Subset 8 zip queues.zip Deque.java RandomizedQueue.java Subset.java