[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

diff thinking files are binaries?



Greetings,

diff is acting strangelely. I have two directories filled with .cpp & .h 
files, and when I run diff on them all I get is a list saying "Binary 
files X and Y differ."

When I run file(1) on them it tells me the files are "Non-ISO 
extended-ASCII C++ program text". This would have me believe that the 
files *are* (as they are!) plain text files.

Apparently for some reason diff(1) thinks the files are binaries. Is 
there any way to force diff(1) to parse the files as text files? Or is 
there any way to, well, fix the files?

Thx,

  - Bram