Answered step by step
Verified Expert Solution
Link Copied!

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

linuximage text in transcribed

$ 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Management Databases And Organizations

Authors: Richard T. Watson

6th Edition

1943153035, 978-1943153039

More Books

Students also viewed these Databases questions