Question: This will require Linux and regular expressions to complete. Come up with an egrep command that finds the lines requested. Change directory to /usr/share/dict. We
This will require Linux and regular expressions to complete. Come up with an egrep command that finds the lines requested.
- Change directory to /usr/share/dict. We will use the Linux dictionary, the file words, for this step.
- Some of the entries consist of words that contain a letter followed by a digit or a digit followed by a letter. Find these and count them (using c).
- Find words with that have (at least) 5 consecutive vowels in them (upper or lower case).
- Find words that are exactly 12 characters in length (words longer than 12 should not appear).
- Find all words that have two consecutive punctuation marks.
- Find all words that have two punctuation marks that are not consecutiv
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
