Question: Regular expression question in Linux: 1. Write a regular expression that you could use with egrep that will find all entries in /usr/share/dict/words that contain

Regular expression question in Linux:

1. Write a regular expression that you could use with egrep that will find all entries in /usr/share/dict/words that contain the sequence aa, ii or uu consecutively. Only write the regular expression. Do not include the egrep command and do not enclose it in single or double quotes.

2. Write a regular expression that you could use with egrep that will find all entries in /usr/share/dict/words that have two consecutive punctuation marks. Only write the regular expression. Do not include the egrep command and do not enclose it in single or double quotes.

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!