Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I know this has been asked before...but I have a spin as I have been trying out varying free software offerings. I want to rid out department of DiffDoc the problem is that I am having trouble locating something that will do what we need. WinMerge has been the latest attempt...

The problem is simple. One Word doc...one PDF with a portion of it containing the text to be compared against.

Compare them and be done. Raw text, ignore whitespace, ignore carriage returns, etc...

Just compare the text and give me the results in some sort of report.

NOTE: Have tried ExamDiff, kdiff3, Tortoise, and a few others...

share|improve this question

migrated from stackoverflow.com Jun 3 '10 at 18:41

This question came from our site for professional and enthusiast programmers.

    
possible duplicate of What is a good text comparison tool for Windows? –  Sathya Jun 3 '10 at 18:46
6  
This question is more specific and addresses a common problem with few, if any, commonly available solutions: compare the text content of docs in two different, non-plain-text, formats. –  JRobert Jun 3 '10 at 18:56
    
@JRobert is hitting the nail on the head...it seems so simple yet nothing seems to tackle it... –  Aaron McIver Jun 3 '10 at 19:21
    
It only seems simple, which is why no one has tackled it. Probably the best solution is to convert to plain text from the native applications. Not even the FSM knows what text is actually in a Word .doc –  msw Jun 3 '10 at 23:20
1  
Perhaps you should emphasize this in your question @Aaron ;-) –  Ivo Flipse Jun 4 '10 at 9:42

2 Answers 2

You could try looking into awk, sed and some bash scripting to help you out.

share|improve this answer
1  
I have a feeling that a lobotomy performed with a 0.44" calibre firearm would be both quicker and less painful. –  Jonathan Leffler Jun 8 '10 at 5:46
    
lol ... totally agree with you Jonathan :) –  tapan Jun 9 '10 at 3:58
up vote 0 down vote accepted

As of current my solution is a hodge-podged app. PDFBox for PDF extraction and Word Interop for Word docs. It rips through them replaces \r\n with " ", pushes each to a .txt file then they are ready to be compared in a simple manner in WinMerge.

Would really like something a bit more robust and official...but as of now...this is the answer for free...

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.