[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: say "Binary files differ" or something
From: |
jidanni |
Subject: |
Re: say "Binary files differ" or something |
Date: |
Wed, 13 Jan 2010 08:49:23 +0800 |
What I'm saying is when the user does
$ diff /etc/motd /etc/debian_version
1,8c1...
$ diff /bin/true /bin/false
Files /bin/true and /bin/false differ
he is left scratching his head why the latter just poops out with the
statement.
Could it be a privacy permissions issue, so a simple answer is given
based on file size?
Load currently too high so we just give a simple answer?
Output would be too long for the screen, so we just give a simple answer?
Etc. Etc. he wonders.
In the past I recall the message was "Binary files differ".
Well at least that gave the user a clue to what was going on, and he
could look on the man page and find --text, even if you don't tell him
he could try -a/--text right there in the output message, which you
might consider doing too, perhaps.