Question: Use egrep (or grep -E) to find all words in the file /usr/red/words.txt that contain the same 3-letter sequence at least three times. For example,

Use egrep (or grep -E) to find all words in the file /usr/red/words.txt that contain the same 3-letter sequence at least three times. For example, one such word matched by the correct regular expression is cha-cha-cha. It contains the 3-letter sequence cha three times. Other example output can be man-man-man oh-oh-oh , please make sure to match any 3 letters that are in sequence.

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!