From unknown Fri Aug 15 19:35:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15650: "cp: warning: source file =?UTF-8?Q?=E2=80=98f=E2=80=99?= specified more than once" said more than once too! Resent-From: jidanni@jidanni.org Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Sat, 19 Oct 2013 10:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 15650 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 15650@debbugs.gnu.org X-Debbugs-Original-To: bug-coreutils@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.138217856921196 (code B ref -1); Sat, 19 Oct 2013 10:30:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Oct 2013 10:29:29 +0000 Received: from localhost ([127.0.0.1]:57637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VXTmi-0005Vo-Vj for submit@debbugs.gnu.org; Sat, 19 Oct 2013 06:29:29 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45637) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VXTmg-0005VT-87 for submit@debbugs.gnu.org; Sat, 19 Oct 2013 06:29:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VXTmU-0008Oe-3c for submit@debbugs.gnu.org; Sat, 19 Oct 2013 06:29:20 -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,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:48211) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXTmT-0008OR-Vw for submit@debbugs.gnu.org; Sat, 19 Oct 2013 06:29:14 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47337) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXTmM-0006zG-Rd for bug-coreutils@gnu.org; Sat, 19 Oct 2013 06:29:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VXTmG-00087n-7b for bug-coreutils@gnu.org; Sat, 19 Oct 2013 06:29:06 -0400 Received: from caiajhbdcbef.dreamhost.com ([208.97.132.145]:37135 helo=homiemail-a6.g.dreamhost.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXTmF-00085I-V4 for bug-coreutils@gnu.org; Sat, 19 Oct 2013 06:29:00 -0400 Received: from homiemail-a6.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a6.g.dreamhost.com (Postfix) with ESMTP id 4AE3559806C for ; Sat, 19 Oct 2013 03:28:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type: content-transfer-encoding; s=jidanni.org; bh=t/43dnBPlOmp5BRAs4c YVKUs5Kw=; b=BAkfCRBrs6FbAUaexD/6xOi49f3O5DjrFQJc8a+QgUqAyKhKJUB QolCDNaND7jKRoUq3j7OQCsSrjMJ2fDamx2k/s8Lyjek/CyyLUY1oiJq1Vb9Hgi9 RVwdqREh7NEomtUkxlExlkG8+q/5dQCmNzv8eES5lJqdsaUBNjvArj/g= Received: from jidanni.org (111-246-102-200.dynamic.hinet.net [111.246.102.200]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a6.g.dreamhost.com (Postfix) with ESMTPSA id 0CBAB59806B for ; Sat, 19 Oct 2013 03:28:58 -0700 (PDT) From: jidanni@jidanni.org Date: Sat, 19 Oct 2013 18:28:55 +0800 Message-ID: <87ppr1imfs.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.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-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 (-----) $ touch f $ mkdir w $ cp f f f w cp: warning: source file =E2=80=98f=E2=80=99 specified more than once cp: warning: source file =E2=80=98f=E2=80=99 specified more than once Hey, you yourself say that more than once itself! So either say cp: warning: source file =E2=80=98f=E2=80=99 specified more than once just once, or say cp: warning: source file =E2=80=98f=E2=80=99 specified again n-1 times. From unknown Fri Aug 15 19:35:38 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: jidanni@jidanni.org Subject: bug#15650: closed (Re: bug#15650: "cp: warning: source file =?UTF-8?Q?=E2=80=98f=E2=80=99?= specified more than once" said more than once too!) Message-ID: References: <5270E546.6090801@draigBrady.com> <87ppr1imfs.fsf@jidanni.org> X-Gnu-PR-Message: they-closed 15650 X-Gnu-PR-Package: coreutils Reply-To: 15650@debbugs.gnu.org Date: Wed, 30 Oct 2013 10:55:08 +0000 Content-Type: multipart/mixed; boundary="----------=_1383130508-13167-1" This is a multi-part message in MIME format... ------------=_1383130508-13167-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #15650: "cp: warning: source file =E2=80=98f=E2=80=99 specified more than o= nce" said more than once too! which was filed against the coreutils package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 15650@debbugs.gnu.org. --=20 15650: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D15650 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1383130508-13167-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 15650-done) by debbugs.gnu.org; 30 Oct 2013 10:54:13 +0000 Received: from localhost ([127.0.0.1]:52233 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VbTPg-0003OM-9z for submit@debbugs.gnu.org; Wed, 30 Oct 2013 06:54:12 -0400 Received: from mail1.vodafone.ie ([213.233.128.43]:52327) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VbTPZ-0003NX-VG; Wed, 30 Oct 2013 06:54:09 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ap4BAC7kcFJda9/8/2dsb2JhbAANTIZXT7w6gTqDGQEBAQQMFw8BRhAJAg0LAgIFFgsCAgkDAgECAToLEwEFAgEBiAiMK5podpJUgSmOJgcWglSBQgOebo0NgT4 Received: from unknown (HELO [192.168.1.79]) ([93.107.223.252]) by mail1.vodafone.ie with ESMTP; 30 Oct 2013 10:53:58 +0000 Message-ID: <5270E546.6090801@draigBrady.com> Date: Wed, 30 Oct 2013 10:53:58 +0000 From: =?UTF-8?B?UMOhZHJhaWcgQnJhZHk=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: jidanni@jidanni.org Subject: Re: bug#15650: "cp: warning: source file =?UTF-8?B?4oCYZuKAmSBzcA==?= =?UTF-8?B?ZWNpZmllZCBtb3JlIHRoYW4gb25jZSIgc2FpZCBtb3JlIHRoYW4gb25jZSB0b28=?= =?UTF-8?B?IQ==?= References: <87ppr1imfs.fsf@jidanni.org> In-Reply-To: <87ppr1imfs.fsf@jidanni.org> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 15650-done Cc: 15650-done@debbugs.gnu.org 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: 0.0 (/) tag 15659 wontfix stop On 10/19/2013 11:28 AM, jidanni@jidanni.org wrote: > $ touch f > $ mkdir w > $ cp f f f w > cp: warning: source file ‘f’ specified more than once > cp: warning: source file ‘f’ specified more than once > > Hey, you yourself say that more than once itself! > > So either say > cp: warning: source file ‘f’ specified more than once > just once, or say > cp: warning: source file ‘f’ specified again > n-1 times. So we record this about each arg: struct F_triple { char *name; ino_t st_ino; dev_t st_dev; }; I suppose we could add a 'count' member, and a corresponding seen_file_count() function. Though I don't think the complication/clarification is warranted in this case. thanks, Pádraig. ------------=_1383130508-13167-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 19 Oct 2013 10:29:29 +0000 Received: from localhost ([127.0.0.1]:57637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VXTmi-0005Vo-Vj for submit@debbugs.gnu.org; Sat, 19 Oct 2013 06:29:29 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45637) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VXTmg-0005VT-87 for submit@debbugs.gnu.org; Sat, 19 Oct 2013 06:29:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VXTmU-0008Oe-3c for submit@debbugs.gnu.org; Sat, 19 Oct 2013 06:29:20 -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,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:48211) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXTmT-0008OR-Vw for submit@debbugs.gnu.org; Sat, 19 Oct 2013 06:29:14 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47337) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXTmM-0006zG-Rd for bug-coreutils@gnu.org; Sat, 19 Oct 2013 06:29:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VXTmG-00087n-7b for bug-coreutils@gnu.org; Sat, 19 Oct 2013 06:29:06 -0400 Received: from caiajhbdcbef.dreamhost.com ([208.97.132.145]:37135 helo=homiemail-a6.g.dreamhost.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXTmF-00085I-V4 for bug-coreutils@gnu.org; Sat, 19 Oct 2013 06:29:00 -0400 Received: from homiemail-a6.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a6.g.dreamhost.com (Postfix) with ESMTP id 4AE3559806C for ; Sat, 19 Oct 2013 03:28:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type: content-transfer-encoding; s=jidanni.org; bh=t/43dnBPlOmp5BRAs4c YVKUs5Kw=; b=BAkfCRBrs6FbAUaexD/6xOi49f3O5DjrFQJc8a+QgUqAyKhKJUB QolCDNaND7jKRoUq3j7OQCsSrjMJ2fDamx2k/s8Lyjek/CyyLUY1oiJq1Vb9Hgi9 RVwdqREh7NEomtUkxlExlkG8+q/5dQCmNzv8eES5lJqdsaUBNjvArj/g= Received: from jidanni.org (111-246-102-200.dynamic.hinet.net [111.246.102.200]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a6.g.dreamhost.com (Postfix) with ESMTPSA id 0CBAB59806B for ; Sat, 19 Oct 2013 03:28:58 -0700 (PDT) From: jidanni@jidanni.org To: bug-coreutils@gnu.org Subject: "cp: warning: source file =?utf-8?B?4oCYZuKAmQ==?= specified more than once" said more than once too! Date: Sat, 19 Oct 2013 18:28:55 +0800 Message-ID: <87ppr1imfs.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.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-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 (-----) $ touch f $ mkdir w $ cp f f f w cp: warning: source file =E2=80=98f=E2=80=99 specified more than once cp: warning: source file =E2=80=98f=E2=80=99 specified more than once Hey, you yourself say that more than once itself! So either say cp: warning: source file =E2=80=98f=E2=80=99 specified more than once just once, or say cp: warning: source file =E2=80=98f=E2=80=99 specified again n-1 times. ------------=_1383130508-13167-1-- From unknown Fri Aug 15 19:35:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15650: "cp: warning: source file =?UTF-8?Q?=E2=80=98f=E2=80=99?= specified more than once" said more than once too! Resent-From: Jim Meyering Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Wed, 30 Oct 2013 14:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15650 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 15650@debbugs.gnu.org, =?UTF-8?Q?P=C3=A1draig?= Brady , Dan Jacobson Received: via spool by 15650-submit@debbugs.gnu.org id=B15650.138314442412836 (code B ref 15650); Wed, 30 Oct 2013 14:48:01 +0000 Received: (at 15650) by debbugs.gnu.org; 30 Oct 2013 14:47:04 +0000 Received: from localhost ([127.0.0.1]:52804 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VbX31-0003Ky-QI for submit@debbugs.gnu.org; Wed, 30 Oct 2013 10:47:04 -0400 Received: from mail-pd0-f181.google.com ([209.85.192.181]:63033) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VbX2y-0003KS-Gh for 15650@debbugs.gnu.org; Wed, 30 Oct 2013 10:47:01 -0400 Received: by mail-pd0-f181.google.com with SMTP id x10so1055843pdj.26 for <15650@debbugs.gnu.org>; Wed, 30 Oct 2013 07:46:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type:content-transfer-encoding; bh=WQCQI2tMznZDAxXPD9mFrwqcfk/jrtPm7UdEKYf1y4I=; b=IB+q6tvINMK66hRV9k6/PJYs7iILrwmO6I6sjE4TQSsFkIhWa4AIGDKftfPCuU4BSa XTW4SQXHVlK2LTMQ/xsvbcHOwSK0TWisp56YkbPcVpQn+BNGcVbEmqoLj7bA+qEGlMY7 QnctygRXMvJO44eXASFKdGdqSELHDPan/jw/dubdRPMR0+10ghvo+ZRBUHmX5knr5jyw u4XSfjDlwUHepeZoeRv3Un5M7P0KoZhW4SiieFXFWcfze0ekBtlhONCmwQ1Cxdkg26Jv PY8t7XtQPcG/7kMEJaEdAop54Xq27djXePDcrhMRd8EfwMm8VKz15Ip7ckE/FmTrdZuF pqUA== X-Received: by 10.68.134.6 with SMTP id pg6mr5394136pbb.67.1383142866090; Wed, 30 Oct 2013 07:21:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.6.66 with HTTP; Wed, 30 Oct 2013 07:20:45 -0700 (PDT) In-Reply-To: <5270E546.6090801@draigBrady.com> References: <87ppr1imfs.fsf@jidanni.org> <5270E546.6090801@draigBrady.com> From: Jim Meyering Date: Wed, 30 Oct 2013 07:20:45 -0700 X-Google-Sender-Auth: -yNI-7PIhCO0QGZ3swdNJC8U65I Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) 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: 0.0 (/) On Wed, Oct 30, 2013 at 3:53 AM, P=E1draig Brady wrote: > Though I don't think the complication/clarification > is warranted in this case. Glad we agree. THanks for replying.