On Wed 26-Jul-06 1:10am -0600, Linda W wrote:

> Seems to be a bug in the "diff.exe" program included
> in the VIMRUNTIME dir in the Win32-GUI distribution.
>
> It compares files with CRLF endings as "identical" with
> the same text & "LF" endings.

That's the default handling - treat as text.

You could write:

    diff --binary file1 file2 > nul

and proceed based on the error code.

-- 
Best regards,
Bill

Reply via email to