How will text-based comparison work?

Post your new features ideas and suggestions here.
Post Reply
MKairys
Posts: 63
Joined: Tue Oct 07, 2003 10:28 am
Location: Ann Arbor, Michigan

How will text-based comparison work?

Post by MKairys »

Back in August of 2002 I asked the following question, and received your answer below. How will this work in 3.0?

> I have been using wincmp extensively for some time now but have just
> now begun using winsin. I find I have a problem with using it effectively.
>
> I want to compare two directories containing program source files,
> ignoring the timestamps of the files and comparing based on contents
> only. I see how to set up winsin to do this, but the results of its
> file comparisons do not agree with wincmp's! That is, if I select a
> pair of files that winsin tells me are different and run wincmp from
> the popup menu, wincmp tells me they are identical. This makes the use
> of winsin much more difficult, because I must manually select and
> compare each pair of files that winsin tells me are differenct, to see
> if they are really different.

You are right, Synchronize It! uses plain (and fast) byte-to-byte comparison, while Compare It! use text based comparison with extended rules to ignore blanks, case etc. In future releases Synchronize It! will be able to call Compare It! for doing exact comparison, but currently this option is unavailable yet.

grigsoft
Site Admin
Posts: 1673
Joined: Tue Sep 23, 2003 7:37 pm
Contact:

Post by grigsoft »

Currently I'm considering two options:
1. Invoking Compare It! from Synchronize It! automatically to do the job
2. Synchronize It! will also be able to compare text files itself by ignoring blanks and CRs.

Both methods are not ideal, since neither program can use different comparison rules depending on file type. But this is planned for Compare It! - it will be able to ignore comments in sources, but fully compare plain text files. So probably first way is better.

Post Reply