Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!att!dptg!ulysses!andante!alice!andrew From: andrew@alice.att.com (Andrew Hume) Newsgroups: comp.unix.internals Subject: Re: Is it "grep' Summary: answer is unclear Message-ID: <11785@alice.att.com> Date: 10 Jan 91 05:17:13 GMT References: <5638@discg1> Organization: AT&T Bell Laboratories, Murray Hill NJ Lines: 28 In article <5638@discg1>, ieca006@discg1 (william crosby) writes: ~ Hello, ~ ~ 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. ~ ~ Thanks, Bill yes, it is grep. The command is grep 'gry$' dictionary I ran this on our dictionaries and I believe the correct answer is two (angry and hungry) and not three. If you want to be exotic, the Second Edition of the Mirriam-Webster New Internation Dictionaty (unabridged) yields the following words: web2:aggry web2:ahungry web2:angry web2:anhungry web2:hungry web2:unangry