delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/08/07/13:17:19

X-Authentication-Warning: kendall.sfbr.org: jeffw set sender to jeffw AT darwin DOT sfbr DOT org using -f
Date: Wed, 7 Aug 2002 12:17:04 -0500
From: JT Williams <jeffw AT darwin DOT sfbr DOT org>
To: djgpp AT delorie DOT com
Subject: diff -q implies --binary
Message-ID: <20020807171704.GC3223@kendall.sfbr.org>
Mail-Followup-To: djgpp AT delorie DOT com
Mime-Version: 1.0
User-Agent: Mutt/1.4i
Reply-To: djgpp AT delorie DOT com

Regarding the djgpp port of diffutils 2.8:

It seems the `-q' (or --brief) option to `diff' forces a binary
comparison.  This seems wrong; `-q' is just a reporting option
and shouldn't affect the type of comparison (binary/text).

% echo "bar" > foo1
% cp foo1 foo2
% dtou foo1
% utod foo2

% diff foo1 foo2

% diff -q foo1 foo2
Files foo1 and foo2 differ

% diff --brief foo1 foo2
Files foo1 and foo2 differ

- Raw text -


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