The file /usr/share/dict/words holds a list of English words…
The file /usr/share/dict/words holds a list of English words. We want to use egrep to display only those which match the following rules; The word starts with either an upper case letter or a lower case one This first letter is followed by 0 or more characters in no specific pattern We then have the rest of the word following a specific pattern repeated one or more times; One upper case character Zero or more characters following it In addition; we want to only use egrep thus allowing us to leverage extended regexps we may use grouping with ( and ) we are working with Ubuntu Linux on the bash shell using GNU egrep tool Here are some examples of the words which will be matched; pH KHz YouTube PhD AOL Which of the following is the best solution?