5

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 ?

kittygirl
  • 2,255
  • 5
  • 24
  • 52

1 Answers1

3

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.

knut
  • 27,320
  • 6
  • 84
  • 112
  • is that only for text compare? how to do it in folder compare? – kittygirl Jun 19 '17 at 01:25
  • See my update for binary comparison in folder compare. – knut Jun 19 '17 at 09:00
  • Binary comparison will not ignore lf,crlf difference when I do folder compare – kittygirl Jun 20 '17 at 01:47
  • I revised the question,how to ignore lf,crlf difference in beyond compare folder compare? – kittygirl Jun 20 '17 at 13:23
  • No, I made my first correction under time pressure and without attention. I hope I have it now. – knut Jun 20 '17 at 19:17
  • @knut on BeyondCompare 4, more specifically on session settings, I do not see that "Importance" tab, even though it should appear ([as it shows here](https://www.scootersoftware.com/v4help/index.html?sessiontext.html)). – Gonçalo Peres Feb 24 '22 at 19:30
  • @GonçaloPeres Are you in the settings for the file compare? In Folder compare the flag is missing. You see it in the title of "Session Settings - " – knut Feb 25 '22 at 11:23
  • @knut no, and that was the reason. I was in Folder Compare. Just tested with file compare and was able to see the "Importance" tab. – Gonçalo Peres Feb 25 '22 at 13:58