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

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!