Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!clyde.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!apple!usc!wuarchive!cs.utexas.edu!tut.cis.ohio-state.edu!uoft02.utoledo.edu!eve!spotter From: spotter@eve.wright.edu (Sh'r'ldana) Newsgroups: comp.unix.internals Subject: Re: Is it "grep' Message-ID: <1991Jan05.191552.31649@eve.wright.edu> Date: 6 Jan 91 00:16:08 GMT References: <5638@discg1> Organization: Wrong State University Lines: 24 Nntp-Posting-Host: eve.wright.edu In article bzs@world.std.com (Barry Shein) writes: > >Well, my unabridged word list reveals "aggry", "ahungry", "anhungry" >and "unangry" but you can decide how many of those qualify as "words". > Aggry is not in my dictionary, so it doesn't count. Ahungry, anhungry, and unangry are all derivatives of hungry and angry, so they don't count. >the command you want is: > > % grep -i 'gry$' wordfile > >to be safest. Why be safe? This isn't something that is important, so why not take the easy road. % grep gry wordfile..... steve -- anagram@desire.wright.edu | "Tough times demand tough hearts, demand tough spotter@eve.wright.edu | thoughts, demand tough songs, | Demand!" -Rush WSU doesn't approve of anything I do, but that hasn't stopped me yet.