• Post Reply Bookmark Topic Watch Topic
  • New Topic

programatic diff tool

 
Joe Von
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm writing a tool which (among other things) needs to determine if two text files are different and, if different, which line has changed.
Does anyone know of a tool or an API which I can code to which has this sort of functionality?
Thanks,
Joe
 
Jayesh Netravali
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Joe,
I am also in the process of building a tool which should compare two text files generated by an application. Since I know this is going to be used on windows I tried executing the FC command and parsing the output of the command to find the file differences. I have almost completed the tool but now I realise that for major or complex differences it gives a weird output. Did you find any Java API which could be used to achieve the same task. Something which could tell which set of lines were added, deleted and changed.

Thanks and Regards,
Jayesh.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!