Is it "grep'

J.T. Conklin jtc at van-bc.wimsey.bc.ca
Sun Jan 6 11:25:39 AEST 1991


In article <5638 at discg1> ieca006 at discg1 (william crosby) writes:
|I hope someone can help me. A friend of mine told me there are three words
|in the english language that end in the letters 'gry'. I immediately came
|up with angry and hungry. I've seen on the net where people use a command
|and a wild card to find out different groups of words. I tried using grep 
|but I don't understand how to do it. It would be greatly appreciated if
|someone could tell me exactly how to do it.

I used ``egrep "^.*gry$" /usr/dict/words'' but only came up with angry
and hungry.  /usr/dict/words must not contain the third.

	--jtc

-- 
J.T. Conklin	jtc at wimsey.bc.ca, ...!{uunet,ubc-cs}!van-bc!jtc



More information about the Comp.unix.internals mailing list