From unknown Sun Jun 15 08:11:38 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#23737 <23737@debbugs.gnu.org> To: bug#23737 <23737@debbugs.gnu.org> Subject: Status: wrong rm -i prompt Reply-To: bug#23737 <23737@debbugs.gnu.org> Date: Sun, 15 Jun 2025 15:11:38 +0000 retitle 23737 wrong rm -i prompt reassign 23737 coreutils submitter 23737 "Lemke, Michael ST/HZA-ZIC2" severity 23737 normal tag 23737 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 09 14:45:27 2016 Received: (at submit) by debbugs.gnu.org; 9 Jun 2016 18:45:28 +0000 Received: from localhost ([127.0.0.1]:34911 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bB4xL-0005ey-I4 for submit@debbugs.gnu.org; Thu, 09 Jun 2016 14:45:27 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53415) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bB4LK-0004lQ-KU for submit@debbugs.gnu.org; Thu, 09 Jun 2016 14:06:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bB4L7-0006iI-0j for submit@debbugs.gnu.org; Thu, 09 Jun 2016 14:06:02 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: *** X-Spam-Status: No, score=3.3 required=5.0 tests=BAYES_50, RECEIVED_FROM_WINDOWS_HOST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35785) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bB4L6-0006i6-U6 for submit@debbugs.gnu.org; Thu, 09 Jun 2016 14:05:56 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44352) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bB4L0-0007fm-R8 for bug-coreutils@gnu.org; Thu, 09 Jun 2016 14:05:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bB4Kv-0006cx-N9 for bug-coreutils@gnu.org; Thu, 09 Jun 2016 14:05:50 -0400 Received: from cluster-j.mailcontrol.com ([85.115.54.190]:57015) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bB4Kv-0006ai-En for bug-coreutils@gnu.org; Thu, 09 Jun 2016 14:05:45 -0400 Received: from schaeffler.com ([159.51.236.205]) by rly47j.srv.mailcontrol.com (MailControl) with ESMTPS id u59HB43N045656 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 9 Jun 2016 18:11:04 +0100 Received: from DE013814.schaeffler.com (unknown [10.160.165.2]) by Websense Email Security Gateway with ESMTPS id 4114B782AC4AA for ; Thu, 9 Jun 2016 19:11:03 +0200 (CEST) Received: from DE013667.schaeffler.com (10.160.165.112) by DE013814.schaeffler.com (10.160.165.2) with Microsoft SMTP Server (TLS) id 15.0.1076.9; Thu, 9 Jun 2016 19:11:04 +0200 Received: from DE013815.schaeffler.com (10.160.165.7) by DE013667.schaeffler.com (10.160.165.112) with Microsoft SMTP Server (TLS) id 15.0.1076.9; Thu, 9 Jun 2016 19:11:03 +0200 Received: from DE013815.schaeffler.com ([fe80::c056:efc8:b552:9160]) by DE013815.schaeffler.com ([fe80::c056:efc8:b552:9160%20]) with mapi id 15.00.1076.000; Thu, 9 Jun 2016 19:11:03 +0200 From: "Lemke, Michael ST/HZA-ZIC2" To: "bug-coreutils@gnu.org" Subject: wrong rm -i prompt Thread-Topic: wrong rm -i prompt Thread-Index: AdHCcRGmB86dUWINR4WBDbkQ4jAY4w== Date: Thu, 9 Jun 2016 17:11:03 +0000 Message-ID: <62129f6d0f54452eaaf65998445272ec@DE013815.schaeffler.com> Accept-Language: en-US, de-DE Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.178.228.148] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Scanned-By: MailControl 44278.1378 (www.mailcontrol.com) on 10.74.0.157 X-detected-operating-system: by eggs.gnu.org: Windows NT kernel [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 09 Jun 2016 14:45:26 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -4.1 (----) With coreutils 8.25 on Cygwin I get this; P01104393> rm -i a\ b rm: remove regular empty file 'a'$'\t''b'? What is this? The filename is 'a b' and not the nonsense rm outputs. There is a tab character between a and b. P01104393> rm --version rm (GNU coreutils) 8.25 Packaged by Cygwin (8.25-3) Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Richard M. Stallman, and Jim Meyering. From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 09 15:15:32 2016 Received: (at control) by debbugs.gnu.org; 9 Jun 2016 19:15:32 +0000 Received: from localhost ([127.0.0.1]:34923 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bB5QS-0006M9-EA for submit@debbugs.gnu.org; Thu, 09 Jun 2016 15:15:32 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60726) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bB5QR-0006Lq-2t; Thu, 09 Jun 2016 15:15:31 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 2EFAF46208; Thu, 9 Jun 2016 19:15:25 +0000 (UTC) Received: from [10.3.116.88] (ovpn-116-88.phx2.redhat.com [10.3.116.88]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u59JFOxu030195; Thu, 9 Jun 2016 15:15:24 -0400 Subject: Re: bug#23737: wrong rm -i prompt To: "Lemke, Michael ST/HZA-ZIC2" , 23737-done@debbugs.gnu.org References: <62129f6d0f54452eaaf65998445272ec@DE013815.schaeffler.com> From: Eric Blake Openpgp: url=http://people.redhat.com/eblake/eblake.gpg X-Enigmail-Draft-Status: N1110 Organization: Red Hat, Inc. Message-ID: <5759C04C.8000405@redhat.com> Date: Thu, 9 Jun 2016 13:15:24 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <62129f6d0f54452eaaf65998445272ec@DE013815.schaeffler.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="5CIUmaa4aK6jGNkKvpDsrOB9aFIeNlUGw" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Thu, 09 Jun 2016 19:15:25 +0000 (UTC) X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -6.4 (------) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --5CIUmaa4aK6jGNkKvpDsrOB9aFIeNlUGw Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable tag 23737 notabug thanks On 06/09/2016 11:11 AM, Lemke, Michael ST/HZA-ZIC2 wrote: > With coreutils 8.25 on Cygwin I get this; >=20 > P01104393> rm -i a\ b > rm: remove regular empty file 'a'$'\t''b'? >=20 > What is this? The filename is 'a b' and not the nonsense rm outputs. > There is a tab character between a and b. Yes, and the string 'a'$'\t''b' is one way (of many) to write that literal string escaped in such a way that you can copy and paste it back into the shell to refer to the same file (assuming you have a shell new enough to support $'' quoting). This was an intentional behavior change in 8.25, hinted at in the NEWS fi= le: ls now quotes file names unambiguously and appropriate for use in a she= ll, when outputting to a terminal. =2E.. All utilities now quote user supplied arguments in error strings, which avoids confusing error messages in the presence of '\r' chars etc= =2E although there has been discussion on this list about tweaking the heuristics to possibly get nicer looking quoting while still being unambiguous. If you don't like the default, you can set QUOTING_STYLE in your environment to go with a different quoting style. >=20 > P01104393> rm --version > rm (GNU coreutils) 8.25 > Packaged by Cygwin (8.25-3) And since you are using Cygwin, you should also be reading the cygwin release announcements prior to blindly upgrading, where it was explicitly mentioned that this upstream behavior change was intentional and not a bug: https://cygwin.com/ml/cygwin-announce/2016-04/msg00024.html As such, I'm closing this in the coreutils bug database. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --5CIUmaa4aK6jGNkKvpDsrOB9aFIeNlUGw Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJXWcBMAAoJEKeha0olJ0NqaF4H/j+tK7lyovA/4O6aLzfJVQVq cOtzOntC3rUZoDb17xd/3NSGca/TL4PmVIL8rHsZeE6vo7vK46DpsMWLRd+FN4O7 cwZGUsyao1x2ioYL43oi7n7redLARqALhAYG8wPEWM2cP2elL6f4Fdgs4FA9pSu/ Oq8NauhN4iPe0w5lAAIp5x3tHTlnAfiuo74WWBmhw6ma05+6PVvtUnzQ2RzTKICJ gIKX6CBghaGEX/WcdGM2gCKZSH9sBRZ2p3ZskdAAA6PxOutJnkwzWicqHyfCqSR+ n9WH7ryr6BYuuKIDFUR70uKc4f+AOSdimVEyuv6Z6gvIz4oCMhIQNJcn5uT4tVY= =xizA -----END PGP SIGNATURE----- --5CIUmaa4aK6jGNkKvpDsrOB9aFIeNlUGw-- From unknown Sun Jun 15 08:11:38 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 08 Jul 2016 11:24:05 +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