kittygirl
kittygirl

Reputation: 2443

how to ignore lf,crlf difference in beyond compare folder compare?

I have 2 same php file. one is download in win7, another is from linux.
I use folder compare function in beyond compare.
Beyond compare regards them as different file because one is PC, another one is UNIX.

Screenshot: screenshot

I would like to ignore this difference ,how to do ?

Upvotes: 5

Views: 4165

Answers (2)

user1948787
user1948787

Reputation: 63

To ignore the ANSI format between PC and UNIX I simply selected the Rules-based comparison from the Folder Compare - Session Settings window (Session>Session Settings>Comparison). Note the version of beyond compare I am using is Version 3.3.7 (build 15876):

Folder Compare - Session Settings window

Upvotes: 0

knut
knut

Reputation: 27855

Can you check the session settings (In the menu under Settings -> Session Settings) if you compare also the line endings?

enter image description here You find the flag on the botton of the options.


If you need a pre-check in folder compare you can use the following settings:

enter image description here (See the different filesize 18 to 19 Byte - The difference is the LF)

You need the overwrite quick test results. Without this the other checks return already a result. With this, your comparison will need more time.

Upvotes: 4

Related Questions