|
We do not do homework for you. This is clearly homework.
1. use a while read record .. do ... done <inputfilename loop. This reads the file line by line.
2. tr will uppercase or lowercase a whole sentence.
3. wc -w will count the words.
Next, you get to show us what you've done with this.
|