Page 1 of 1

Looking for pasted text comparison program (not files!)

Posted: Fri Jun 29, 2007 3:23 am
by JAB Creations
I'm looking to copy text from access logs to compare browser requests. I don't want to open files, just paste text in to two separate text fields and have the differences highlighted. That's all, suggestions?

Posted: Fri Jun 29, 2007 4:35 am
by superdezign
What do you mean by "the differences?" As in, word for word until a difference is discovered?

Posted: Fri Jun 29, 2007 4:52 am
by JAB Creations
Firefox and Opera...

So useragents would be highlighted, and lets say the Opera bug of code 304 on a dynamic file that should have been a code 200...that would be highlighted to. If you have no clue what I'm talking about perhaps you should do a Google of text comparison.

Posted: Fri Jun 29, 2007 10:44 am
by Chris Corbyn
Are you looking for "diff"? You can diff strings.

Posted: Fri Jun 29, 2007 5:15 pm
by JAB Creations
Text Comparison...as in comparing text that is different and then highlighting the differing text. :teach:
Image

Posted: Fri Jun 29, 2007 5:29 pm
by nickvd
JAB Creations wrote:Text Comparison...as in comparing text that is different and then highlighting the differing text. :teach:

Don't expect help if you insult the knowledge of people you are soliciting for it...

Go away if you can't handle being asked for clarification of your question, we're not all mind readers like yourself.

There are countless programs that will highlight the diffrences between two files. You said you don't want to open the files, yet you immediately contradict yourself by saying you want to paste the content into two text boxes... how do you paste content without opening the file?


windiff

Posted: Fri Jun 29, 2007 6:29 pm
by Ambush Commander
When not managing SVN diffs, I use WinMerge. However, nothing beats the good ole "diff" for programatically calculating differences.

Posted: Fri Jun 29, 2007 7:53 pm
by JAB Creations
WinMerge --> File --> New, paste, paste, press F5, highlights; beautifully simple and open source! Thank you very much Ambush Commander. :bow: