Comparing Two Text Files

General questions about using ExamDiff Pro, ideas for new features, bug reports, and usage tips.
Post Reply
ikrananka
New Member
Posts: 3
Joined: Wed Oct 22, 2008 8:06 am

Comparing Two Text Files

Post by ikrananka »

I have two text files and want to check if they have the same words and punctuation. However, one file contains a lot of line breaks and the other doesn't.

Is there a way to compare the text in these files and ignore the line breaks?
User avatar
psguru
Site Admin
Posts: 2231
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: Comparing Two Text Files

Post by psguru »

No, files are compared line by line.
psguru
PrestoSoft
ikrananka
New Member
Posts: 3
Joined: Wed Oct 22, 2008 8:06 am

Re: Comparing Two Text Files

Post by ikrananka »

psguru wrote:No, files are compared line by line.
Oh well - thanks for letting me know. Any plans to add such a feature in future versions?
User avatar
psguru
Site Admin
Posts: 2231
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: Comparing Two Text Files

Post by psguru »

No immediate plans.
psguru
PrestoSoft
robertalexander
New Member
Posts: 1
Joined: Thu Oct 16, 2014 12:14 am

Re: Comparing Two Text Files

Post by robertalexander »

Can you please add a printIn on both lines. Just to make sure that they are actually the same. And add basics and else statements to display something like "no match found".
User avatar
psguru
Site Admin
Posts: 2231
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: Comparing Two Text Files

Post by psguru »

I'm afraid your request is somewhat unclear to me.
psguru
PrestoSoft
Post Reply