From: Mmcolli00 Mom Date: 2008-12-11T00:48:43+09:00 Subject: Re: compare 2 text files - check for difference - Please help I have a huge xml file that I am reading in after a submit routine. The routine fails on specific xml elements. I want to be able find every element that was changed by the routine through after the second submit routine. I can already check if the file is different. I just want to pinpoint the value that is different. I have noticed that if the context has changed then the output will show @action=! and then the value such as ([# elements="1,2\n","1,2,3\n">) My problem is that one line can be so long that I don't see exactly which element is dissimiar. So I wanted to break each line up then search on anything returning this '@action=!' -- Posted via http://www.ruby-forum.com/.