
# Remove old copies of executable and output.
echo "Removing listWords, listWords.out, listWords.png"
rm -f listWords
rm -f listWords.out
rm -f listWords.png

# Compile the program.
echo "Compiling it..."
make listWords

# Run it and put the output in listWords.out
echo "Running it..."
./listWords > listWords.out

# Create the plot listWords.png from the output.
echo "Plotting it..."
gnuplot listWords.gp

echo "Done.  Now look at listWords.png"
