echo "" echo "" echo "#####################################" echo "example file from assignment sheet:" echo "-------------------------------------" cat file7 echo "-------------------------------------" word-cnt file7 echo "" echo "" echo "#####################################" echo "empty file:" echo "-----------" cat file0 echo "------------------------------" word-cnt file0 echo "" echo "" echo "#####################################" echo "File with only alpha-numerics:" echo "------------------------------" cat file1 echo "------------------------------" word-cnt < file1 echo "" echo "" echo "#####################################" echo "File with only one-letter words:" echo "--------------------------------" cat file2 echo "--------------------------------" cat file2 | word-cnt echo "" echo "" echo "#####################################" echo "File with a word at the end:" echo "----------------------------" cat file3 echo "----------------------------" word-cnt file3 echo "" echo "" echo "#####################################" echo "File with non-alpha-numeric at end:" echo "-----------------------------------" cat file4 echo "-----------------------------------" word-cnt file4 echo "" echo "" echo "#####################################" echo "file with a single letter at the end:" echo "-------------------------------------" cat file5 echo "-------------------------------------" word-cnt file5 echo "" echo "" echo "#####################################" echo "file with a huge word:" echo "-------------------------------------" cat file6 echo "-------------------------------------" word-cnt file6 echo "" echo "" echo "#####################################" echo "word-cnt applied to its own source file:" echo "-------------------------------------" word-cnt word-cnt.c