On Jul 3, 2005, at 8:35 PM, bww00amdahl / yahoo.com wrote:

> Thanks,
> I have done this in other languages and was looking for some  
> direction,
> or if it had been done in ruby before ,,, the ruby code.

Well, you should probably examine the DBI for the database work.   
Comparing rows is a trivial programming task.  You mentioned user  
input, I think a library like HighLine makes that a lot easier.

Hope that gets you going.  Feel free to ask questions if you get  
stuck...

James Edward Gray II