GNU bug report logs - #23896
ls-quotes: ls incorrectly shows quotes when listing file

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: coreutils; Reported by: Shamim Islam <shamim.islam@HIDDEN>; dated Mon, 4 Jul 2016 18:30:02 UTC; Maintainer for coreutils is bug-coreutils@HIDDEN.
Changed bug title to 'ls-quotes: ls incorrectly shows quotes when listing file' from 'ls incorrectly shows quotes when listing file names with spaces' Request was from Assaf Gordon <assafgordon@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 23896 <at> debbugs.gnu.org:


Received: (at 23896) by debbugs.gnu.org; 5 Jul 2016 09:20:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jul 05 05:20:54 2016
Received: from localhost ([127.0.0.1]:37715 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1bKMXG-0001gH-8l
	for submit <at> debbugs.gnu.org; Tue, 05 Jul 2016 05:20:54 -0400
Received: from mout.gmx.net ([212.227.15.19]:58645)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sweet_f_a@HIDDEN>) id 1bKMXF-0001g5-A0
 for 23896 <at> debbugs.gnu.org; Tue, 05 Jul 2016 05:20:53 -0400
Received: from zappa.ga.local ([87.128.112.108]) by mail.gmx.com (mrgmx002)
 with ESMTPSA (Nemesis) id 0Ldq55-1bk2EZ43FL-00j3wo; Tue, 05 Jul 2016 11:20:45
 +0200
From: Ruediger Meier <sweet_f_a@HIDDEN>
To: =?utf-8?q?P=C3=A1draig_Brady?= <P@HIDDEN>
Subject: Re: bug#23896: ls incorrectly shows quotes when listing file names
 with spaces
Date: Tue, 5 Jul 2016 11:20:42 +0200
User-Agent: KMail/1.9.10
References: <CAE53fO_hy9a+mxoriUiOvBokb=bxUAnUpgAo3Fu=AfscvdJcnA@HIDDEN>
 <577AC4B5.503@HIDDEN>
In-Reply-To: <577AC4B5.503@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Message-Id: <201607051120.43252.sweet_f_a@HIDDEN>
X-Provags-ID: V03:K0:vAlVf1Z3MiMzLSkCifU5aSTecs4NUBZFE2F+lzCB+Zs1hiHlPq+
 9TxldpKyyij6Yixlk1CzMG5apryYjcGhATZegZMb1l5gNr7FGaga+F8a8sE8B2l3FJhvaYA
 5rEhrUih2xY6fhfmCCzPYQvTeDEzhTpeQTAUlFUlf4t2V9mb4+L7og+pKN2QQpN006+148M
 6TvWpp6O62S3/NMs20ESQ==
X-UI-Out-Filterresults: notjunk:1;V01:K0:Esa3Uj+jr/Y=:LI0gmChbhM7jxvPTBAuh2/
 UKdeftBC+us2AZC4gz0t292HXKqvVJvm4EXNdGi5GQCBgzzjNISsF5OADDelhw+EYrrFrpk3q
 p5KkkwN2RIqggxyIaS8D6esc4G7uwZJJH+ta/zOipAWo09tqVHw1qvJe9l/WKVzefDDZmMqsp
 b+AkkhC142cYN5kGHBsfOtPqU+cBWEvIjhVJIt6YiKrtozJhDDqx7dCIjuheRM+34QnhojME3
 p6dspNYggQ3mUBC3pjanyJMagIXQ3yBqU3xcsGsl6MQfQSv8o5nWa/aSqWybywdR6D6Jod82P
 Rw3EvFe4+GP+8Guzj7dNu6ZuPyR+41ROej4K3ircELwTtTabNTQhb6K9Hj5ZQKcwlyKVbfBSE
 T3hwYABUoUK5fgY3e4osaU/BOJCbo8zc9OTObO9glPczNI6Vi3Ui3PJOeGjc9iRkaShNhMxjw
 BmOlxaquT9v5SeHbEL0rpZYHzNiP34XPaNEMChTmDPFNQm9RB4eoTIoZuPipuWt7ZQVAJYkDr
 L0gZMIVtxgtRkRhiTilPDYufD0ssIFXj6eMzCT5yqHF5WbpfeS0GkGXHklAdxf5To4LbXmkV8
 qEPvGXLuF4HP6nL6IgtsadRFmI3IcVLNTS8MWykhLZYETS4vP9beyPawQpM5XEQvvi6vBLOJ4
 0p2dj+Qodn909bbVymT5Bnjvb+sVpFtRwR7Cerh5brQbezP3UJ/42o5e50+HIbgHYWAYolpm1
 lXNGUuKx5WdMpXc7IA0ToEzD4v3yjTGcXLsOGLn9sEWxZ408YSO0NTayhzI=
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 23896
Cc: Shamim Islam <shamim.islam@HIDDEN>, 23896 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

On Monday 04 July 2016, P=C3=A1draig Brady wrote:
> On 04/07/16 19:11, Shamim Islam wrote:
> > Description of problem:
> > Terminal sessions display quotes for files with spaces in them.
> > This is non-intuitive behavior. The file name does not have quotes
> > unless quotes have been used in the filename. The coreutil ls has
> > been updated to default to this new behavior. This behavior should
> > not be foisted on users but users should be allowed to choose
> > whether they want to OPT IN. Debian and Ubuntu distros have already
> > reverted.
> >
> >
> > Version-Release number of selected component (if applicable):
> > coreutils-8.25-5.fc24.x86_64
> >
> >
> > How reproducible:
> > Fresh install of Fedora 24. All the time.
> >
> >
> > Steps to Reproduce:
> > 1. > "File with spaces.txt"
> > 2. ls
> >
> > Actual results:
> > 'File with spaces.txt'
> >
> > Expected results:
> > File with spaces.txt
> >
> > Additional info:
> > This is a core expectation. The filename we see should be the same
> > as the filename in use.
>
> Ideally yes.
> However there are lots of cases where this is already not the case.
> I.E. ls already only showed a representation of the real name,
> with ? being shown for certain characters etc.
> By using the current format, the output from ls can now always be
> copy/pasted to other commands. Also using quotes can disambiguate
> files with spaces when listed 'side by' side. Also quotes help
> protect users from copy and pasting dangerous file names.
>
> > We do not require additional tools to help us identify
> > what is a complete filename and what is not. ESPECIALLY in the
> > terminal session where the user is expected to be versant in POSIX.
> > If the user needs hand-holding, they can use the GUI tools like
> > Dolphin or Konqueror. Note - neither of these tools shows 'quotes'
> > around files with space in the name. Neither does Windows. Neither
> > does Mac OS.
> >
> > Please revert. Please instruct coreutils developers to revert.
> > Please set any defaults required to not show the quotes. The user
> > should not have to discover there is no error.
> >
> > E.g. I downloaded an MP3 file today with spaces. I saw the single
> > quotes and immediately thought there was a problem in firefox
> > naming the file on download.
> >
> > This is insane.
>
> I can't see any argument from you for _why_ this should be changed
> back.

Because coreutils' ls is now the only existing ls which behaves that=20
stupid. Any GUI filebrowser or whatever other program would show the=20
file name as is. Just coreutils ls will print something else...

People who add spaces or whatever strange characters to their file names=20
probably want to _see_ these "nice looking file names". Adding strange=20
escape sequences and quotes is most likely not what they want to see.

> As far as I can see, this didn't cause an actual functional=20
> issue for you. You just weren't expecting the change.  We did
> carefully consider the change, and the reason we set that default was
> to have the safer and less ambiguous output used by default.=20

You added a new kind of quoting style and even enabled it by default=20
within the same patch-set. No user on earth was able to test the new=20
quoting style nor anybody had asked you to make it the default. I don't=20
see that it was "carefully considered".

> Changing back to the previous behavior is just a matter of adding -N
> to your ls alias which shouldn't be too onerous.

It would be also no problem to add the quoting style to the alias if=20
wanted. Personally I use it manually, only when needed, but this case=20
happens not more than 2-3 times per year.


cu,
RUdi





Information forwarded to bug-coreutils@HIDDEN:
bug#23896; Package coreutils. Full text available.

Message received at 23896 <at> debbugs.gnu.org:


Received: (at 23896) by debbugs.gnu.org; 4 Jul 2016 20:19:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 04 16:19:05 2016
Received: from localhost ([127.0.0.1]:37430 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1bKAKe-0003R3-SA
	for submit <at> debbugs.gnu.org; Mon, 04 Jul 2016 16:19:05 -0400
Received: from mail.magicbluesmoke.com ([82.195.144.49]:39297)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <P@HIDDEN>) id 1bKAKd-0003Qu-AO
 for 23896 <at> debbugs.gnu.org; Mon, 04 Jul 2016 16:19:03 -0400
Received: from [192.168.1.80] (unknown [109.77.186.132])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (No client certificate requested)
 by mail.magicbluesmoke.com (Postfix) with ESMTPSA id 1014A949C;
 Mon,  4 Jul 2016 21:19:02 +0100 (IST)
Subject: Re: bug#23896: ls incorrectly shows quotes when listing file names
 with spaces
To: Shamim Islam <shamim.islam@HIDDEN>, 23896 <at> debbugs.gnu.org
References: <CAE53fO_hy9a+mxoriUiOvBokb=bxUAnUpgAo3Fu=AfscvdJcnA@HIDDEN>
From: =?UTF-8?Q?P=c3=a1draig_Brady?= <P@HIDDEN>
Message-ID: <577AC4B5.503@HIDDEN>
Date: Mon, 4 Jul 2016 21:19:01 +0100
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: <CAE53fO_hy9a+mxoriUiOvBokb=bxUAnUpgAo3Fu=AfscvdJcnA@HIDDEN>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 23896
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

On 04/07/16 19:11, Shamim Islam wrote:
> Description of problem:
> Terminal sessions display quotes for files with spaces in them. This is
> non-intuitive behavior. The file name does not have quotes unless quotes
> have been used in the filename. The coreutil ls has been updated to default
> to this new behavior. This behavior should not be foisted on users but
> users should be allowed to choose whether they want to OPT IN. Debian and
> Ubuntu distros have already reverted.
> 
> 
> Version-Release number of selected component (if applicable):
> coreutils-8.25-5.fc24.x86_64
> 
> 
> How reproducible:
> Fresh install of Fedora 24. All the time.
> 
> 
> Steps to Reproduce:
> 1. > "File with spaces.txt"
> 2. ls
> 
> Actual results:
> 'File with spaces.txt'
> 
> Expected results:
> File with spaces.txt
> 
> Additional info:
> This is a core expectation. The filename we see should be the same as the
> filename in use.

Ideally yes.
However there are lots of cases where this is already not the case.
I.E. ls already only showed a representation of the real name,
with ? being shown for certain characters etc.
By using the current format, the output from ls can now always be copy/pasted to other commands.
Also using quotes can disambiguate files with spaces when listed 'side by' side.
Also quotes help protect users from copy and pasting dangerous file names.

> We do not require additional tools to help us identify
> what is a complete filename and what is not. ESPECIALLY in the terminal
> session where the user is expected to be versant in POSIX. If the user
> needs hand-holding, they can use the GUI tools like Dolphin or Konqueror.
> Note - neither of these tools shows 'quotes' around files with space in the
> name. Neither does Windows. Neither does Mac OS.
> 
> Please revert. Please instruct coreutils developers to revert. Please set
> any defaults required to not show the quotes. The user should not have to
> discover there is no error.
> 
> E.g. I downloaded an MP3 file today with spaces. I saw the single quotes
> and immediately thought there was a problem in firefox naming the file on
> download.
> 
> This is insane.

I can't see any argument from you for _why_ this should be changed back.
As far as I can see, this didn't cause an actual functional issue for you.
You just weren't expecting the change.  We did carefully consider the change,
and the reason we set that default was to have the safer and less ambiguous
output used by default.  Changing back to the previous behavior is just a
matter of adding -N to your ls alias which shouldn't be too onerous.

thanks,
Pádraig.




Information forwarded to bug-coreutils@HIDDEN:
bug#23896; Package coreutils. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 4 Jul 2016 18:29:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 04 14:29:44 2016
Received: from localhost ([127.0.0.1]:37390 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1bK8cq-0000ok-7D
	for submit <at> debbugs.gnu.org; Mon, 04 Jul 2016 14:29:44 -0400
Received: from eggs.gnu.org ([208.118.235.92]:38355)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <shamim.islam@HIDDEN>) id 1bK8Ky-0000OS-Vr
 for submit <at> debbugs.gnu.org; Mon, 04 Jul 2016 14:11:17 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <shamim.islam@HIDDEN>) id 1bK8Ks-00013P-Jq
 for submit <at> debbugs.gnu.org; Mon, 04 Jul 2016 14:11:11 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:37651)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <shamim.islam@HIDDEN>) id 1bK8Ks-00013L-Gj
 for submit <at> debbugs.gnu.org; Mon, 04 Jul 2016 14:11:10 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:57557)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <shamim.islam@HIDDEN>) id 1bK8Kq-000113-8o
 for bug-coreutils@HIDDEN; Mon, 04 Jul 2016 14:11:09 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <shamim.islam@HIDDEN>) id 1bK8Ko-000138-Qu
 for bug-coreutils@HIDDEN; Mon, 04 Jul 2016 14:11:08 -0400
Received: from mail-qk0-x234.google.com ([2607:f8b0:400d:c09::234]:36050)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <shamim.islam@HIDDEN>) id 1bK8Ko-000133-MO
 for bug-coreutils@HIDDEN; Mon, 04 Jul 2016 14:11:06 -0400
Received: by mail-qk0-x234.google.com with SMTP id j2so217271810qkf.3
 for <bug-coreutils@HIDDEN>; Mon, 04 Jul 2016 11:11:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:from:date:message-id:subject:to;
 bh=blyzn9UglDUJprc3sVK0kRF1luQEGksnC/+/q27uRMs=;
 b=ZsDB0cTdX+iwz8/YJcx3dyF/DFlHONSqK0BCnHkcICDC0mDa6NDjhOFG43DzahN1t4
 1SdJjP7hM3Fpq3LVCvtWOxEYrEXZ/V+CXMScAo2NdeIkb7Nx3jWU0r/QA7EaUUHrEltp
 VkYudUm+PUQ5o27pGM1s58GOG2ovA39jjsfO39Jebi8OwS8up/ust4HrCz3KZZNZPdcB
 01iulf29qYGa8w96DdtkKB5K9cIaNt03tscBzWPwgXZFtddkYEMXEHLlGTxJO17jQPFI
 7w2bXVzc/bIEsBreZWGIhpi3OQY85B0ZLhyRVQ7Jw34KfdKPNqxvJPLO6Jp0t8ME7o+g
 m06A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=blyzn9UglDUJprc3sVK0kRF1luQEGksnC/+/q27uRMs=;
 b=LfIP5Unh7rtENKt7dzP9J2IhVsqfbkbcQqhgSA933ySvdNLrLabDQF+eNH+6ww+BPT
 OrNCHANs6PXs/4YOIprEeP9KVy4uKOD+pDExtTF0Z5Ewo8ZVLhHRhsmXtc8jDqc/Da+0
 6y8DL0dfs0qGA/r/i+J94lJ0pf2tCLb8xt1621qSwTkRVk4vVxT9rnpNobQVzrUeC0FC
 H+hBsVwKEq5lTjAykD3tVkid2qjL8sgGtVizdVifssf4Mv8m1ViYHFBsrPZQH+gipwBD
 ULmKrBojTOMKlLxJGO0uCQBVIKx9d86rXvv6QS4By0KFL8vW8fWu80vPcRDk25IYeomz
 9ZfA==
X-Gm-Message-State: ALyK8tKQZuQRt5xCvVUJ6qcxtNeexUxD+zKNsjg6bI1OjcIKdIKwX/GnEZn9Nwt9zt6M4Er2Jq+11rJl28/weg==
X-Received: by 10.55.115.196 with SMTP id o187mr17544868qkc.49.1467655865848; 
 Mon, 04 Jul 2016 11:11:05 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.55.43.31 with HTTP; Mon, 4 Jul 2016 11:11:05 -0700 (PDT)
From: Shamim Islam <shamim.islam@HIDDEN>
Date: Mon, 4 Jul 2016 14:11:05 -0400
Message-ID: <CAE53fO_hy9a+mxoriUiOvBokb=bxUAnUpgAo3Fu=AfscvdJcnA@HIDDEN>
Subject: ls incorrectly shows quotes when listing file names with spaces
To: bug-coreutils@HIDDEN
Content-Type: multipart/alternative; boundary=001a114fe8b88977880536d34227
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
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.0 (----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Mon, 04 Jul 2016 14:29:42 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

--001a114fe8b88977880536d34227
Content-Type: text/plain; charset=UTF-8

Description of problem:
Terminal sessions display quotes for files with spaces in them. This is
non-intuitive behavior. The file name does not have quotes unless quotes
have been used in the filename. The coreutil ls has been updated to default
to this new behavior. This behavior should not be foisted on users but
users should be allowed to choose whether they want to OPT IN. Debian and
Ubuntu distros have already reverted.


Version-Release number of selected component (if applicable):
coreutils-8.25-5.fc24.x86_64


How reproducible:
Fresh install of Fedora 24. All the time.


Steps to Reproduce:
1. > "File with spaces.txt"
2. ls

Actual results:
'File with spaces.txt'

Expected results:
File with spaces.txt

Additional info:
This is a core expectation. The filename we see should be the same as the
filename in use. We do not require additional tools to help us identify
what is a complete filename and what is not. ESPECIALLY in the terminal
session where the user is expected to be versant in POSIX. If the user
needs hand-holding, they can use the GUI tools like Dolphin or Konqueror.
Note - neither of these tools shows 'quotes' around files with space in the
name. Neither does Windows. Neither does Mac OS.

Please revert. Please instruct coreutils developers to revert. Please set
any defaults required to not show the quotes. The user should not have to
discover there is no error.

E.g. I downloaded an MP3 file today with spaces. I saw the single quotes
and immediately thought there was a problem in firefox naming the file on
download.

This is insane.

--001a114fe8b88977880536d34227
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Description of problem:<br>Terminal sessions display quote=
s for files with spaces in them. This is non-intuitive behavior. The file n=
ame does not have quotes unless quotes have been used in the filename. The =
coreutil ls has been updated to default to this new behavior. This behavior=
 should not be foisted on users but users should be allowed to choose wheth=
er they want to OPT IN. Debian and Ubuntu distros have already reverted.<br=
><br><br>Version-Release number of selected component (if applicable): core=
utils-8.25-5.fc24.x86_64<br><br><br>How reproducible:<br>Fresh install of F=
edora 24. All the time.<br><br><br>Steps to Reproduce:<br>1. &gt; &quot;Fil=
e with spaces.txt&quot;<br>2. ls<br><br>Actual results:<br>&#39;File with s=
paces.txt&#39;<br><br>Expected results:<br>File with spaces.txt<br><br>Addi=
tional info:<br>This is a core expectation. The filename we see should be t=
he same as the filename in use. We do not require additional tools to help =
us identify what is a complete filename and what is not. ESPECIALLY in the =
terminal session where the user is expected to be versant in POSIX. If the =
user needs hand-holding, they can use the GUI tools like Dolphin or Konquer=
or. Note - neither of these tools shows &#39;quotes&#39; around files with =
space in the name. Neither does Windows. Neither does Mac OS.<br><br>Please=
 revert. Please instruct coreutils developers to revert. Please set any def=
aults required to not show the quotes. The user should not have to discover=
 there is no error.<br><br>E.g. I downloaded an MP3 file today with spaces.=
 I saw the single quotes and immediately thought there was a problem in fir=
efox naming the file on download.<br><br>This is insane.<br><br></div>

--001a114fe8b88977880536d34227--




Acknowledgement sent to Shamim Islam <shamim.islam@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-coreutils@HIDDEN. Full text available.
Report forwarded to bug-coreutils@HIDDEN:
bug#23896; Package coreutils. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 28 Oct 2018 06:30:02 UTC

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