From unknown Fri Jun 20 19:47:28 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#17102 <17102@debbugs.gnu.org> To: bug#17102 <17102@debbugs.gnu.org> Subject: Status: diff --help and multiple files Reply-To: bug#17102 <17102@debbugs.gnu.org> Date: Sat, 21 Jun 2025 02:47:28 +0000 retitle 17102 diff --help and multiple files reassign 17102 diffutils submitter 17102 Tim Waugh severity 17102 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 26 13:53:09 2014 Received: (at submit) by debbugs.gnu.org; 26 Mar 2014 17:53:09 +0000 Received: from localhost ([127.0.0.1]:51256 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WSs0g-00051s-OE for submit@debbugs.gnu.org; Wed, 26 Mar 2014 13:53:08 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40006) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WSrP0-0003tY-Dd for submit@debbugs.gnu.org; Wed, 26 Mar 2014 13:14:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WSrOr-0001TD-O7 for submit@debbugs.gnu.org; Wed, 26 Mar 2014 13:14:10 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:48505) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSrOr-0001T9-Ll for submit@debbugs.gnu.org; Wed, 26 Mar 2014 13:14:01 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41636) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSrOl-0001A2-HN for bug-diffutils@gnu.org; Wed, 26 Mar 2014 13:14:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WSrOf-0001MC-EW for bug-diffutils@gnu.org; Wed, 26 Mar 2014 13:13:55 -0400 Received: from mx1.redhat.com ([209.132.183.28]:65422) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSrOf-0001M3-6b for bug-diffutils@gnu.org; Wed, 26 Mar 2014 13:13:49 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s2QHDlvQ013508 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 26 Mar 2014 13:13:47 -0400 Received: from [10.10.60.28] (vpn-60-28.rdu2.redhat.com [10.10.60.28]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s2QHDkdS007537 for ; Wed, 26 Mar 2014 13:13:46 -0400 Message-ID: <1395854025.20582.3.camel@rubik> Subject: diff --help and multiple files From: Tim Waugh To: bug-diffutils@gnu.org Date: Wed, 26 Mar 2014 17:13:45 +0000 Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-dQWpaV1yH40XA7ZLrNAG" Mime-Version: 1.0 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 26 Mar 2014 13:53:05 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --=-dQWpaV1yH40XA7ZLrNAG Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 wor= k 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=3D1079076 Thanks, Tim. */ --=-dQWpaV1yH40XA7ZLrNAG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEVAwUAUzMKyXlVEo2joavTAQJFQQf/VJzhxMufIRZeec6K4hGXeJ8AMO4t06Si vbpsPn9cqoQgWIMAmp9H8UyFG450lC3CyypvUl9iRHfnexwVniEwkH115VnfQ3iI B2bHmwc5R4IsKiAVi3cX0nqPUb2DJ1ZNwxcL8esO8Sm0SIcF8MgmL8nRsg7p5Yfr zlVJreNimnFn2hehFS/SAoyp3IgQ7+CJIBFoN3x/+ZiUv3DPTQECQE9semIJs3C2 3ELZd2YPVNSHJIDEbJAm/3Vn8bTYV0hamV87c8stPvUM3070kA5kx3IoFKwB8aFL NVWRvscXHayAyMXLwJAnGzSSlmRvwIXfqB6DqDIC1Ruro3FnZUvXxw== =7V+V -----END PGP SIGNATURE----- --=-dQWpaV1yH40XA7ZLrNAG-- From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 26 14:15:03 2014 Received: (at 17102-done) by debbugs.gnu.org; 26 Mar 2014 18:15:03 +0000 Received: from localhost ([127.0.0.1]:51289 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WSsLu-0006pH-DU for submit@debbugs.gnu.org; Wed, 26 Mar 2014 14:15:02 -0400 Received: from smtp.cs.ucla.edu ([131.179.128.62]:54719) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WSsLr-0006ob-Mm for 17102-done@debbugs.gnu.org; Wed, 26 Mar 2014 14:15:00 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 41C9739E8013; Wed, 26 Mar 2014 11:14:59 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id chbJglSwIYyY; Wed, 26 Mar 2014 11:14:58 -0700 (PDT) Received: from [192.168.1.9] (pool-108-0-233-62.lsanca.fios.verizon.net [108.0.233.62]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 7F7CF39E8011; Wed, 26 Mar 2014 11:14:58 -0700 (PDT) Message-ID: <53331922.1080200@cs.ucla.edu> Date: Wed, 26 Mar 2014 11:14:58 -0700 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Tim Waugh , 17102-done@debbugs.gnu.org Subject: Re: [bug-diffutils] bug#17102: diff --help and multiple files References: <1395854025.20582.3.camel@rubik> In-Reply-To: <1395854025.20582.3.camel@rubik> Content-Type: multipart/mixed; boundary="------------080109090809090200020100" X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 17102-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.7 (--) This is a multi-part message in MIME format. --------------080109090809090200020100 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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. --------------080109090809090200020100 Content-Type: text/plain; charset=UTF-8; name="0001-diff-fix-two-.-typos-in-help-output.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="0001-diff-fix-two-.-typos-in-help-output.patch" RnJvbSBkODM5YmUwOGQ1MjBhNzY4NmQzZTBiZjYwZmQzMDNjZjQ5ZWZkY2U2IE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBQYXVsIEVnZ2VydCA8ZWdnZXJ0QHBlbmd1aW4uY3Mu dWNsYS5lZHU+CkRhdGU6IFdlZCwgMjYgTWFyIDIwMTQgMTE6MTI6MTIgLTA3MDAKU3ViamVj dDogW1BBVENIXSBkaWZmOiBmaXggdHdvICIuLi4iIHR5cG9zIGluIC0taGVscCBvdXRwdXQK Ciogc3JjL2RpZmYuYyAob3B0aW9uX2hlbHBfbXNnaWQpOiBSZW1vdmUgdHdvICIuLi4iIHR5 cG9zIChCdWcjMTcxMDIpLgotLS0KIHNyYy9kaWZmLmMgfCAyICstCiAxIGZpbGUgY2hhbmdl ZCwgMSBpbnNlcnRpb24oKyksIDEgZGVsZXRpb24oLSkKCmRpZmYgLS1naXQgYS9zcmMvZGlm Zi5jIGIvc3JjL2RpZmYuYwppbmRleCBjNmJhNWY2Li4zOTc4MTVlIDEwMDY0NAotLS0gYS9z cmMvZGlmZi5jCisrKyBiL3NyYy9kaWZmLmMKQEAgLTkzOSw3ICs5MzksNyBAQCBzdGF0aWMg Y2hhciBjb25zdCAqIGNvbnN0IG9wdGlvbl9oZWxwX21zZ2lkW10gPSB7CiAgIE5fKCIgICAg LS1oZWxwICAgICAgICAgICAgICAgZGlzcGxheSB0aGlzIGhlbHAgYW5kIGV4aXQiKSwKICAg Tl8oIi12LCAtLXZlcnNpb24gICAgICAgICAgICBvdXRwdXQgdmVyc2lvbiBpbmZvcm1hdGlv biBhbmQgZXhpdCIpLAogICAiIiwKLSAgTl8oIkZJTEVTIGFyZSAnRklMRTEgRklMRTInIG9y ICdESVIxIERJUjInIG9yICdESVIgRklMRS4uLicgb3IgJ0ZJTEUuLi4gRElSJy4iKSwKKyAg Tl8oIkZJTEVTIGFyZSAnRklMRTEgRklMRTInIG9yICdESVIxIERJUjInIG9yICdESVIgRklM RScgb3IgJ0ZJTEUgRElSJy4iKSwKICAgTl8oIklmIC0tZnJvbS1maWxlIG9yIC0tdG8tZmls ZSBpcyBnaXZlbiwgdGhlcmUgYXJlIG5vIHJlc3RyaWN0aW9ucyBvbiBGSUxFKHMpLiIpLAog ICBOXygiSWYgYSBGSUxFIGlzICctJywgcmVhZCBzdGFuZGFyZCBpbnB1dC4iKSwKICAgTl8o IkV4aXQgc3RhdHVzIGlzIDAgaWYgaW5wdXRzIGFyZSB0aGUgc2FtZSwgMSBpZiBkaWZmZXJl bnQsIDIgaWYgdHJvdWJsZS4iKSwKLS0gCjEuOC41LjMKCg== --------------080109090809090200020100-- From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 28 06:19:50 2014 Received: (at 17102) by debbugs.gnu.org; 28 Mar 2014 10:19:50 +0000 Received: from localhost ([127.0.0.1]:53921 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WTTt7-0006Rf-I2 for submit@debbugs.gnu.org; Fri, 28 Mar 2014 06:19:50 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40744) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WTTt3-0006RV-R3 for 17102@debbugs.gnu.org; Fri, 28 Mar 2014 06:19:47 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s2SAJiLX005016 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <17102@debbugs.gnu.org>; Fri, 28 Mar 2014 06:19:44 -0400 Received: from [10.10.55.20] (vpn-55-20.rdu2.redhat.com [10.10.55.20]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s2SAJhTa026200 for <17102@debbugs.gnu.org>; Fri, 28 Mar 2014 06:19:43 -0400 Message-ID: <1396001982.3154.3.camel@rubik> Subject: Re: bug#17102: closed (Re: [bug-diffutils] bug#17102: diff --help and multiple files) From: Tim Waugh To: 17102@debbugs.gnu.org Date: Fri, 28 Mar 2014 10:19:42 +0000 In-Reply-To: References: <53331922.1080200@cs.ucla.edu> <1395854025.20582.3.camel@rubik> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-3YX+/hgyKw7iD4wsqBym" Mime-Version: 1.0 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26 X-Spam-Score: -5.4 (-----) X-Debbugs-Envelope-To: 17102 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.4 (-----) --=-3YX+/hgyKw7iD4wsqBym Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks. I think the man page also says "DIR FILE..." and "FILE... DIR" as well. Tim. */ --=-3YX+/hgyKw7iD4wsqBym Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEVAwUAUzVMvnlVEo2joavTAQJrxwf9GpzJUgrPqeRbiVpqHPDaz2W0BEm4V1Xm uoLjAoMNXqpPxLv2TFc9y+IqD1Q6vTddT8G0mR63LgL6YNoQOJDa/b80tsOL/RNW Bf7NRgxKp9ZvsfxmuAmoZsp2GhpfqmVlVeGJUlw7eT68AeU2B3I0HWdWO2AD1fPa 0+M2Ze6h73P7EXtA1LjKSlAm/tS3qoCP12iSW9UjYKx1WAAXNZgbKG4niqEl1wdv xyNqIjU0el+5w+Y8dhEHRvpzAyOLnwvENz9xU8vr/cGNyeZjMRRh7We796d8gmMZ cSF+m/AOli2Ys++lAKtl5SmtrQK5dGssdMG8U+ANqHWMQRtkswxh+Q== =2fXb -----END PGP SIGNATURE----- --=-3YX+/hgyKw7iD4wsqBym-- From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 28 15:22:11 2014 Received: (at 17102) by debbugs.gnu.org; 28 Mar 2014 19:22:11 +0000 Received: from localhost ([127.0.0.1]:55126 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WTcLy-0004tT-1G for submit@debbugs.gnu.org; Fri, 28 Mar 2014 15:22:10 -0400 Received: from smtp.cs.ucla.edu ([131.179.128.62]:38898) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WTcLv-0004tK-1h for 17102@debbugs.gnu.org; Fri, 28 Mar 2014 15:22:07 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id DEBA439E801B; Fri, 28 Mar 2014 12:22:05 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id B-r4iE8cvGiq; Fri, 28 Mar 2014 12:22:05 -0700 (PDT) Received: from penguin.cs.ucla.edu (Penguin.CS.UCLA.EDU [131.179.64.200]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 6F6CA39E8013; Fri, 28 Mar 2014 12:22:05 -0700 (PDT) Message-ID: <5335CBDD.8030903@cs.ucla.edu> Date: Fri, 28 Mar 2014 12:22:05 -0700 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Tim Waugh , 17102@debbugs.gnu.org Subject: Re: [bug-diffutils] bug#17102: closed (Re: bug#17102: diff --help and multiple files) References: <53331922.1080200@cs.ucla.edu> <1395854025.20582.3.camel@rubik> <1396001982.3154.3.camel@rubik> In-Reply-To: <1396001982.3154.3.camel@rubik> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 17102 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.7 (--) On 03/28/2014 03:19 AM, Tim Waugh wrote: > I think the man page It's generated automatically from "diff --help", so it should be OK. From unknown Fri Jun 20 19:47:28 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 26 Apr 2014 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator