emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#17102: closed (diff --help and multiple files)


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#17102: closed (diff --help and multiple files)
Date: Wed, 26 Mar 2014 18:16:01 +0000

Your message dated Wed, 26 Mar 2014 11:14:58 -0700
with message-id <address@hidden>
and subject line Re: [bug-diffutils] bug#17102: diff --help and multiple files
has caused the debbugs.gnu.org bug report #17102,
regarding diff --help and multiple files
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
17102: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17102
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: diff --help and multiple files Date: Wed, 26 Mar 2014 17:13:45 +0000
Hi,

I'm trying to understand the --help output from diff:

diff [OPTION]... FILES
[...]
FILES are 'FILE1 FILE2' or 'DIR1 DIR2' or 'DIR FILE...' or 'FILE... DIR'.
[...]

I'm not sure how to trigger the "FILE..." behaviour. It doesn't seem to work 
for me:

touch a b
mkdir -p dir
echo "A" > dir/a
echo "B" > dir/b
diff a b dir/

gives:

diff: extra operand 'dir/'
diff: Try 'diff --help' for more information.

The original bug report is here:
  https://bugzilla.redhat.com/show_bug.cgi?id=1079076

Thanks,
Tim.
*/

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---
--- Begin Message --- Subject: Re: [bug-diffutils] bug#17102: diff --help and multiple files Date: Wed, 26 Mar 2014 11:14:58 -0700 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0
Tim Waugh wrote:
I'm not sure how to trigger the "FILE..." behaviour.

Thanks, that's a typo in the --help output. It's been there since commit 9a57dd54d693952dc3f63ed8baaf99f2fb695132 dated 1998, and you're the first to report it! I installed the attached patch.

It would be nice to extend 'diff' in the ways that you're probably thinking of, and that's been proposed, but it hasn't been implemented as far as I know. Should be done for 'cmp' too.

Attachment: 0001-diff-fix-two-.-typos-in-help-output.patch
Description: Text document


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]