Help - Search - Members - Calendar
Full Version: Spot The Difference
Achaea's Forums > Off-Topic > Tech Support
berenene
Well, I've just been given the enviable task of looking through 2 large files used for monitoring our current network status to see if there are any difference in the code between the two. Once done they can shut down the old server and start the new one monitoring. I would much rather keep the use of my eyes for longer then the day, so I come here, hoping someone knows of something I need.

What I would like is if there is a program that will compare the two files and list whatever difference in the text there is, or if need be I can bring all the info into one file and list it side by side and get it to compare it there.

Does anyone know of a program like this?
berenene
Well, I found one that does exactly what I wanted. It's called WinMerge. Link included for anyone else who might have a need to compare old vs new stuff.
Drauka
In UNIX/Linux, there is the command: diff
Mishgul
Linux is nice like that. You could make a file using diff and grep with just the difference in the files.
berenene
QUOTE (Drauka @ Sep 7 2009, 10:40 AM) *
In UNIX/Linux, there is the command: diff

Funny you should say that, because the two files were on linnux boxes and I was going through them in it. The only problem was that the files needed to be on the same box for that to be used, and they weren't
Trevize
Notepad++ has a compare plugin.
Lana
Windows has comp <file1> <file2>. Only lists the first ten though, but good to check if the files are identical.
Penquin
I use a program called Meld, for diff viewing. Very robust. No windows binaries at this time though.
Jaiko
QUOTE (berenene @ Sep 6 2009, 08:56 PM) *
QUOTE (Drauka @ Sep 7 2009, 10:40 AM) *
In UNIX/Linux, there is the command: diff

Funny you should say that, because the two files were on linnux boxes and I was going through them in it. The only problem was that the files needed to be on the same box for that to be used, and they weren't


bash + scp + diff = ez solution
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.