From unknown Thu Jun 19 14:17:27 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#34212 <34212@debbugs.gnu.org> To: bug#34212 <34212@debbugs.gnu.org> Subject: Status: ls wraps files containing spaces in single quotes in terminal Reply-To: bug#34212 <34212@debbugs.gnu.org> Date: Thu, 19 Jun 2025 21:17:27 +0000 retitle 34212 ls wraps files containing spaces in single quotes in terminal reassign 34212 coreutils submitter 34212 Daniel Grambihler severity 34212 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 26 16:37:53 2019 Received: (at submit) by debbugs.gnu.org; 26 Jan 2019 21:37:53 +0000 Received: from localhost ([127.0.0.1]:46812 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnVeC-0002J2-Lc for submit@debbugs.gnu.org; Sat, 26 Jan 2019 16:37:52 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45652) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnUxv-0001Ef-2h for submit@debbugs.gnu.org; Sat, 26 Jan 2019 15:54:11 -0500 Received: from lists.gnu.org ([209.51.188.17]:58302) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gnUxp-000639-OG for submit@debbugs.gnu.org; Sat, 26 Jan 2019 15:54:05 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55851) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnUxo-0003lM-Sk for bug-coreutils@gnu.org; Sat, 26 Jan 2019 15:54:05 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gnUxo-00062D-5S for bug-coreutils@gnu.org; Sat, 26 Jan 2019 15:54:04 -0500 Received: from ms11p00im-qufo17292001.me.com ([17.58.38.49]:47105) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gnUxn-0005zd-VC for bug-coreutils@gnu.org; Sat, 26 Jan 2019 15:54:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=04042017; t=1548536041; bh=4JDGPxtT83UNIBsP4Ql4mMgNNTlLi0B2PFA9epTRrtE=; h=From:Content-Type:Mime-Version:Subject:Message-Id:Date:To; b=2a9wQzjkmb/triSy8lKMpmcLEKjVP2wALtv3zxDipY87S7xZj2MVsbiLunj+QTEAD bPW6KLpoM522pRWyH8Gj9DFhjezA3LNgVVXq7UyOH3rpgD3u41HiixMnczyFuH5lo3 BHCtXc7PQLbTnLeaw9m9aPZrhCGrGrkverCu+PsEeOYKV/NjwE5cuURU9BlJIxhIy1 xF6AkNLOb2QET+ODNaBc1J6J1kEEJDwuRkAl1uZGbOqSSdJGNwcto1syQAYo0QlWnz 9dMWGqXA2LhNbT/KzKTTZ0V3O3QZxqsvt2MlnyYBwGCAprvgtD0xMa58+kk2+0lgUL 5T8doZ87asT3Q== Received: from [10.10.27.91] (ip68-0-152-41.tc.ph.cox.net [68.0.152.41]) by ms11p00im-qufo17292001.me.com (Postfix) with ESMTPSA id CBC3D880114 for ; Sat, 26 Jan 2019 20:54:01 +0000 (UTC) From: Daniel Grambihler Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: ls wraps files containing spaces in single quotes in terminal Message-Id: Date: Sat, 26 Jan 2019 13:54:00 -0700 To: bug-coreutils@gnu.org X-Mailer: Apple Mail (2.3445.102.3) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-01-26_14:, , signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 mlxscore=0 mlxlogscore=502 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1901260158 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 17.58.38.49 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sat, 26 Jan 2019 16:37:51 -0500 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: -0.0 (/) The ls utility wraps files with spaces in them in single quotes when = used from the terminal. I discovered this after updating a subversion = repository which pulled files that had been checked in by others using = TortoiseSVN but was unable to find a bug in TortoiseSVN that would cause = this. After checking the repo via web interface, I could see there were = no quotes in the actual repo. My next suspect was a change in subversion = causing this upon checkout (perhaps it was checking out Windows files = with quotes around them for some weird reason, for example). I came up = empty there, too. I then wondered if it was some weird Ubuntu alias = change, but \ls showed the same thing. I finally opened a directory = containing one of the screwed up filenames with vi and could see that = the single quote wasn=E2=80=99t actually there. This led me to search for bugs in ls, upon which I found that this was = an intentionally induced bug and that I was going to have to change my = alias to add the -N option on every VM and system I use in order to fix = this flaw. I spent two hours on this. That is wholly unacceptable. I=E2=80=99m sure = you=E2=80=99re well aware of the negative feedback on this flaw. The fix = for this is to make this unexpected change an opt-in rather than a = default (as has been the norm for decades). Perhaps a fork of the core-utils that can be included in all of the = distributions is in order. It would be a shame to have to abandon the = current line in preference for a fork due to an unwillingness to do the = right thing on the part of the core-utils devs.= From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 27 02:36:47 2019 Received: (at 34212-done) by debbugs.gnu.org; 27 Jan 2019 07:36:47 +0000 Received: from localhost ([127.0.0.1]:46949 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnezn-0002PJ-FN for submit@debbugs.gnu.org; Sun, 27 Jan 2019 02:36:47 -0500 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:37088) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnezk-0002Oz-1A for 34212-done@debbugs.gnu.org; Sun, 27 Jan 2019 02:36:45 -0500 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id A0DDC1611B7; Sat, 26 Jan 2019 23:36:37 -0800 (PST) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id JrCm_J1hHjq6; Sat, 26 Jan 2019 23:36:36 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id C11F41611E8; Sat, 26 Jan 2019 23:36:36 -0800 (PST) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id FvmG3SyDqkUl; Sat, 26 Jan 2019 23:36:36 -0800 (PST) Received: from [192.168.1.9] (cpe-23-242-74-103.socal.res.rr.com [23.242.74.103]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 9BBC61611B4; Sat, 26 Jan 2019 23:36:36 -0800 (PST) Subject: Re: bug#34212: ls wraps files containing spaces in single quotes in terminal To: Daniel Grambihler , 34212-done@debbugs.gnu.org References: From: Paul Eggert Organization: UCLA Computer Science Department Message-ID: <1b4d8d56-8471-0c75-f2b6-d8e1ad78c8db@cs.ucla.edu> Date: Sat, 26 Jan 2019 23:36:36 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 34212-done 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: -3.3 (---) Please see: https://www.gnu.org/software/coreutils/quotes.html As the bug report doesn't report any specific problem with the quoting (other than a request to change the default back) I'm taking the liberty of closing it. From unknown Thu Jun 19 14:17:27 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 24 Feb 2019 12:24:04 +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