Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Suppose you were working a word puzzle and needed a 5-letter word beginning with

ID: 3552108 • Letter: S

Question

Suppose you were working a word puzzle and needed a 5-letter word beginning with 'd' (upper or lower-case) followed immediately by a lower-case vowel (including 'y') and ending with 's'. The remaining letters could be any character that occurs in English words, including upper and lower-case alphabetics, hyphens, etc. (We will accept the file /usr/share/dict/words as the authority on what constitutes a valid English word.)



What command would you enter to see 5-letter words that begin with 'd' (upper or lower-case), followed by a lower-case
   vowel, and ending in 's'?


Explanation / Answer

egrep '[dD][aeiouy][a-zA-Z]{2}s' /usr/share/dict/words

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote