Question: Unix/Linux Question What command would you give to list the English-language words that are exactly 5 characters long and that begin with t, have a
Unix/Linux Question
What command would you give to list the English-language words that are exactly 5 characters long and that begin with t, have a lower-case vowel (a, e, i, o, u, or y) in the middle position, and ends with s?
The remaining letters could be any character that occurs in English words, including but not limited to upper and lower-case alphabetics, numbers, hyphens, etc.
I've tried : grep '^[t][aeiouy]..s$' /usr/share/dict/words but it doesn't work.
please help!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
