Question: linux $ grep -E 'har. *ring /usr/share/dict/words charring chartering harboring Use grep to search for words in /usr/share/dict/words that match the following patterns. For each

linuxlinux $ grep -E 'har. *ring /usr/share/dict/words charring chartering harboring Use grep

$ grep -E 'har. *ring /usr/share/dict/words charring chartering harboring Use grep to search for words in /usr/share/dict/words that match the following patterns. For each pattern, provide the regular expression you used to search for matching words as well as the list of words reported by grep. a. (2 marks) All words of length 4 whose middle two letters are oy. grep should report 7 matches. b. (2 marks) All words containing three or more zs. pizzazz would be one possible match. grep should report 4 matches. C. (2 marks) All words that start with word or worth and end in a y. worthy would be a match. If your regular expression is correct, grep should report 4 matches

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!