From: Robert Klemme Date: 2010-02-15T23:51:13+09:00 Subject: Re: Searching in arrays 2010/2/14 Szabolcs T. : > Aaron, this is BRILLIANT. Exactly does what I expected. Interesting. I would have thought you wanted to match all lines that contain the exact same subset of words from your interest file. In other words: read a line from a file, find all words that are in the interest file and check whether the other file has a line containing the exact same set of words. That could be done like this: http://gist.github.com/304692 Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/