[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
diff thinking files are binaries?
- To: misc@openbsd.org
- Subject: diff thinking files are binaries?
- From: Bram Van Dam <bramspam@telenet.be>
- Date: Wed, 05 Jan 2005 15:04:04 +0100
- User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
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