Lab 7



This lab uses grep and the file /usr/share/dict/words
Using grep, email me the answer to the following questions. Please send me you grep command as well as its output.
  1. Print out all of the words that end in day.
  2. The spelling rule says i before e except after c or as sounded as a in neighbor and weigh. How many words have an ei in them?
  3. How many entries have ei that are not after c?
  4. How many entries have cei in them?

© Allan Kochis Last revision 5/31/2005