# Remove old copies of executable and output. echo "Removing sortWords, sortWords.out, sortWords.png" rm -f sortWords rm -f sortWords.out rm -f sortWords.png # Compile the program. echo "Compiling it..." make sortWords # Run it and put the output in sortWords.out echo "Running it..." ./sortWords > sortWords.out # Create the plot sortWords.png from the output. echo "Plotting it..." gnuplot sortWords.gp echo "Done. Now look at sortWords.png"