delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/23/08:15:22

From: mdruiter AT cs DOT vu DOT nl (Ruiter de M)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Bug in DJGPP port of diff?
Date: 23 Jun 1998 11:09:55 GMT
Organization: Fac. Wiskunde & Informatica, VU, Amsterdam
Message-ID: <6mo2e3$78p$1@star.cs.vu.nl>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 980621142837 DOT 5335S-100000 AT is>
NNTP-Posting-Host: sloep03.cs.vu.nl
Lines: 32
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Eli Zaretskii (eliz AT is DOT elta DOT co DOT il) wrote:
> > identical files
> > differ! I could understand both answers, but not both at once.

> You can hardly blame `diff' for the brain-damage of Microsoft-style
> text vs. binary files hassles.  What `diff' tries very hard to do is
> to provide useful results and leave you (and me) sane in all possible
> cases, and still report accurate output.

I just thought that `diff' contradicted itself. But I now understand,
because:

> But -q 
> implies binary reads, so the files compare different when you use -q
> (`cmp' would say that also).

Ah, I already thought so! I just didn't read the docs well enough I
think (*blush*).

> > Is this a bug or have I missed some documentation?

> You have missed a prolonged description of the ``binary files'' issue
> in the `diff' manual.  Look it up by typing this from the DOS prompt:
>        info diff Comparison Binary

Thanks.

-- 
Groeten, Michel.        http://www.cs.vu.nl/~mdruiter
  ____________
  \  /====\  /          "You know, Beavis, you need things that suck,
   \/      \/           to have things that are cool", Butt-Head.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019