Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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 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 matchesStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started