From: James Edward Gray II Date: 2006-08-23T07:29:17+09:00 Subject: Re: file compare and remove lines On Aug 22, 2006, at 5:09 PM, Matt Coffman wrote: > James Gray wrote: >> On Aug 22, 2006, at 4:45 PM, Matt Coffman wrote: >> >>>> James Edward Gray II >>> >>> >>> Actually the entire thing - I am currently using VEDIT to work >>> through >>> this. I am a newbie to Ruby and wanted to give it a shot. >>> Thanks in >>> advance >> >> So you are asking us to write it for you? How is that you deciding >> to give Ruby a shot? ;) >> >> James Edward Gray II > > Currently reading "Learn to Program" C.Pine > > Not exactly - just looking for guidance - :) Oh great. I can do that. Here's the steps I might try: 1. Read the small file into an Array 2. Write a loop that reads each line of the big file and prints it out 3. Modify the loop not to print things in the Array See if that gets you going and do come back if you get stuck! James Edward Gray II