GNU bug report logs - #17102
diff --help and multiple files

Previous Next

Package: diffutils;

Reported by: Tim Waugh <twaugh <at> redhat.com>

Date: Wed, 26 Mar 2014 17:54:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tim Waugh <twaugh <at> redhat.com>
To: bug-diffutils <at> gnu.org
Subject: diff --help and multiple files
Date: Wed, 26 Mar 2014 17:13:45 +0000
[Message part 1 (text/plain, inline)]
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.
*/

[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 11 years and 56 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.