GNU bug report logs - #38004
Default quoting of file names by ls (coreutils)

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: Joshua Miller <unrtst@HIDDEN>; dated Thu, 31 Oct 2019 14:36:02 UTC; Maintainer for coreutils is bug-coreutils@HIDDEN.

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


Received: (at submit) by debbugs.gnu.org; 31 Oct 2019 14:35:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 31 10:35:42 2019
Received: from localhost ([127.0.0.1]:53998 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iQBY6-0007mz-9a
	for submit <at> debbugs.gnu.org; Thu, 31 Oct 2019 10:35:42 -0400
Received: from lists.gnu.org ([209.51.188.17]:33567)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <unrtst@HIDDEN>) id 1iQ8cd-0003Lv-U2
 for submit <at> debbugs.gnu.org; Thu, 31 Oct 2019 07:28:12 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:48890)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <unrtst@HIDDEN>) id 1iQ8cb-0008Q2-Pk
 for bug-coreutils@HIDDEN; Thu, 31 Oct 2019 07:28: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,URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <unrtst@HIDDEN>) id 1iQ8ca-0006R9-8T
 for bug-coreutils@HIDDEN; Thu, 31 Oct 2019 07:28:09 -0400
Received: from mail-lj1-x242.google.com ([2a00:1450:4864:20::242]:41645)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <unrtst@HIDDEN>) id 1iQ8cZ-0006Na-Tb
 for bug-coreutils@HIDDEN; Thu, 31 Oct 2019 07:28:08 -0400
Received: by mail-lj1-x242.google.com with SMTP id m9so6195097ljh.8
 for <bug-coreutils@HIDDEN>; Thu, 31 Oct 2019 04:28:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:from:date:message-id:subject:to;
 bh=Ux9lbVmH49C+DERorM6XElQG5MblBrVuf3KFRfgyuEg=;
 b=YFXmNkC20MmM1Bjm13QuzK4ymVVhlu3EQJDz+LBo4hESRqz4JBO8ciBAR3EwFNyDHn
 XgsutvZ+wwJCiFeDVKqv3uyyKIht8H3kwkhoJSzcBAtrumFk722FsWQY+KfBx6anIPQp
 qhErR52vPmAH7v5p/lN05f4jR/oLbsFtzjqhljE4O0S0A84Z4HE2Q5u/6ybX13d4jkJT
 SVxsmnBWSCrLRlbpnub9gQvwKT4e8gWRjGSOLopvqUMeQd9K8FXwhl1g/7zM6n78P1pg
 8PIvfdLrU+g2qBMT6ZvycAlnddmCupkN6lhERQxzLTgUjrdxtvze8bU1ZdTkWFr6UykK
 Zrhg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=Ux9lbVmH49C+DERorM6XElQG5MblBrVuf3KFRfgyuEg=;
 b=hnJZYgL0Ifo84SApU0l1nbvGtdqsk+RzbQeGaGmqEti3lu5/t9QzgIcyckx1yAUelB
 JeFd6AOiJUkyGiTHCc/GZmiOVnBgB2mO5fhlBIWQvGzCFvGYi3vnYaFJnSnA1m4PuNVX
 IwIKnStQ8pP/IBbkD8HRSjaygyGAE0WKi3we6CgnDMeZDAWxXfMz+RGRCGJ4K5AyA7BV
 AlKN+dMSC64PUPU1sL8ot685Bg9mab8cXElIAq/UTPeukKQI0b/Mj8qeZkjjpybvhwlf
 WPEjwApU9lZOGnDftSKTQzJfSyZfFxpEiSJulucUq7VjcT+ctfB5LZt7Azp4MoaWxyPE
 cnMQ==
X-Gm-Message-State: APjAAAVNKL6zWXmwLuSpwa8xFgjl9mdisS7g5rEshk+fpQT/r4OOIfQv
 /uKxzxIH4tB1TqmgnhB5k4EFxh7ZEm6OBDSWuYEoFBQ/
X-Google-Smtp-Source: APXvYqzlrmJXdkFRv0zYigXKVWGlbInx8z7daklFxttp/i+usQSCwoSktD6j7+P226XOPZadsTW+HQ8eQlHzq1ztM4Y=
X-Received: by 2002:a2e:81c7:: with SMTP id s7mr3849496ljg.40.1572521284246;
 Thu, 31 Oct 2019 04:28:04 -0700 (PDT)
MIME-Version: 1.0
From: Joshua Miller <unrtst@HIDDEN>
Date: Thu, 31 Oct 2019 07:27:53 -0400
Message-ID: <CAL3qUHcV4gyPavLYEAP+kTr7MPcUjjQNchA25LN-7Kfwvca34Q@HIDDEN>
Subject: Default quoting of file names by ls (coreutils)
To: bug-coreutils@HIDDEN
Content-Type: multipart/alternative; boundary="0000000000008c9f940596332473"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-Received-From: 2a00:1450:4864:20::242
X-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Thu, 31 Oct 2019 10:35:41 -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: -2.3 (--)

--0000000000008c9f940596332473
Content-Type: text/plain; charset="UTF-8"

The output of "ls" automatically quotes results that include special
characters or spaces. I've already found this page:
https://www.gnu.org/software/coreutils/quotes.html

I'm aware that the maintainers have no plans to revert the behavior, and
I'm aware of the work arounds.

This email is just to register another complaint / disagreement. The page
above notes, "GNU Coreutils maintainers are of the opinion that this change
is beneficial to most users". It's not beneficial to me and has caused a
fair bit of work to restore the old behavior across a few hundred systems.
I suspect that many users have yet to see this new behavior, as many of us
run distributions with older utilities (ex. RHEL 7.x).

FWIW, I'm firmly of the opinion that this should have been implemented at
the distribution level as an addition to the default "ls" alias, leaving
the default behavior of unadulterated /bin/ls use as-is (ie. behaving as
--quoting-style=literal). That said, I don't know where you go from here,
cause you've already committed to this change and it's all over the place
now, and reverting would then cause a third condition... I'd still support
reverting, but I realize that's unlikely, so don't worry about convincing
me of why you won't revert.

In the future, for new behavior such as this, I implore you to please stage
the change in steps:
* add an option to enable the behavior
* encourage distros to make that the default for their distro via aliases
* if $N percent of distros pick it up, then consider making it the actual
default with an option to disable it

Thank you,
--
Josh I.

--0000000000008c9f940596332473
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">The output of &quot;ls&quot; automatically quotes results =
that include special characters or spaces. I&#39;ve already found this page=
:=C2=A0<a href=3D"https://www.gnu.org/software/coreutils/quotes.html">https=
://www.gnu.org/software/coreutils/quotes.html</a><div><br></div><div>I&#39;=
m aware that the maintainers have no plans to revert the behavior, and I&#3=
9;m aware=C2=A0of the work arounds.</div><div><br></div><div>This email is =
just to register another complaint / disagreement. The page above notes, &q=
uot;GNU Coreutils maintainers are of the opinion that this change is benefi=
cial to most users&quot;. It&#39;s not beneficial to me and has caused a fa=
ir bit of work to restore the old behavior across a few hundred systems. I =
suspect that many users have yet to see this new behavior, as many of us ru=
n distributions with older utilities (ex. RHEL 7.x).</div><div><br></div><d=
iv>FWIW, I&#39;m firmly of the opinion that this should have been implement=
ed at the distribution level as an addition to the default &quot;ls&quot; a=
lias, leaving the default behavior of unadulterated /bin/ls use as-is (ie. =
behaving as --quoting-style=3Dliteral). That said, I don&#39;t know where y=
ou go from here, cause you&#39;ve already committed to this change and it&#=
39;s all over the place now, and reverting would then cause a third conditi=
on... I&#39;d still support reverting, but I realize that&#39;s unlikely, s=
o don&#39;t worry about convincing me of why you won&#39;t revert.</div><di=
v><br></div><div>In the future, for new behavior such as this, I implore yo=
u to please stage the change in steps:</div><div>* add an option to enable =
the behavior</div><div>* encourage distros to make that the default for the=
ir distro via aliases</div><div>* if $N percent of distros pick it up, then=
 consider making it the actual default with an option to disable it</div><d=
iv><br></div><div>Thank you,<br></div><div>--</div><div>Josh I.</div></div>

--0000000000008c9f940596332473--




Acknowledgement sent to Joshua Miller <unrtst@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-coreutils@HIDDEN. Full text available.
Report forwarded to bug-coreutils@HIDDEN:
bug#38004; 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: Mon, 25 Nov 2019 12:00:02 UTC

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