for polygon_file in p[0-9]* ; do echo "" echo "" echo "" echo "" echo "Polygon file $polygon_file:" echo "---------------------------" cat $polygon_file echo "---------------------------" echo "Output of polygon convexity program:" echo "------------------------------------" polygon < $polygon_file echo "====================================" done