Go Back   The UNIX and Linux Forums > Special Forums > UNIX Desktop for Dummies Questions & Answers
.
google site




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 06-10-2009
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 6,169
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.