GNU bug report logs - #24926
ls-quotes: ls output has been made ugly

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: Michael Schwager <mike@HIDDEN>; dated Fri, 11 Nov 2016 16:36:01 UTC; Maintainer for coreutils is bug-coreutils@HIDDEN.
Changed bug title to 'ls-quotes: ls output has been made ugly' from 'ls output has been made ugly' Request was from Assaf Gordon <assafgordon@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 24926) by debbugs.gnu.org; 12 Nov 2016 12:27:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 12 07:27:59 2016
Received: from localhost ([127.0.0.1]:54479 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1c5XPb-0007fz-Em
	for submit <at> debbugs.gnu.org; Sat, 12 Nov 2016 07:27:59 -0500
Received: from mout.gmx.net ([212.227.17.22]:55418)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sweet_f_a@HIDDEN>) id 1c5XPZ-0007fD-Sx
 for 24926 <at> debbugs.gnu.org; Sat, 12 Nov 2016 07:27:58 -0500
Received: from [192.168.0.4] ([95.90.210.60]) by mail.gmx.com (mrgmx101
 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Lmvlg-1ckNvi0BlE-00h4BZ; Sat, 12
 Nov 2016 13:27:38 +0100
From: =?utf-8?q?R=C3=BCdiger_Meier?= <sweet_f_a@HIDDEN>
To: 24926 <at> debbugs.gnu.org
Subject: Re: bug#24926: ls output has been made ugly
Date: Sat, 12 Nov 2016 13:27:35 +0100
User-Agent: KMail/1.9.10 (enterprise35 0.20100827.1168748)
References: <CAF-YLqF5HJWApgcfAaHL10TZZWsxOWtV4fH9qJp0cYO9xJvykA@HIDDEN>
 <86091437-a660-b5f8-5663-c4b84fb03b25@HIDDEN>
 <281fc5e6-02e1-e6b0-0ab8-36427616db21@HIDDEN>
In-Reply-To: <281fc5e6-02e1-e6b0-0ab8-36427616db21@HIDDEN>
X-KMail-QuotePrefix: > 
MIME-Version: 1.0
Content-Type: Text/Plain;
  charset="utf-8"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <201611121327.35677.sweet_f_a@HIDDEN>
X-Provags-ID: V03:K0:vt4+GnF/YoR1E0sVTzazpfv3IYY3hpPL+DauXGuoqPQWRfAje+x
 TKmVTtV4JhVpXo3TEo3xzHSUJThpCHq9lfSQgvRszz57au4DE/GivofSAnc71up3igc3b8h
 96YbNx/l2Mi6TKkXwygJ/dg78ABR+rnVT5SVyePYHmLIHERuK9xfLsg3nB5F5NfaUcGnpF7
 qJgHGvJJzAfb5aGnt+6Dw==
X-UI-Out-Filterresults: notjunk:1;V01:K0:mCMRkXPYWs0=:VsMnWfBUkQIGSOkwNnmLPZ
 GXm2KJOeCQlca+6ytzuUFoFo2wDk6l1C0X/ef4uKBJkTLy3hXM2E0ZIZDb8V4J/6GqPt6F3tQ
 3UQznUtbQ18D86Nk7Ryc/ofFEHuDzJIxt7veCChYTMWx0VVFJPXxjy3zTYK4VFot7MoRg0yRS
 ejBDUUvjgDtPO5aOAlR5NSP+3eS8YNzUHPhYgIkUGvzgwt5IVu1JQlDpTUxes2u3gBWvgnSD2
 /2X2rDGhgevFujMbzZ1ge5ZAZNIIadNQz9ZiuTQNmEbtaJKShr5ktReHNr+yqjTUELgWpbyTJ
 Dhihs8GCR7BMo0K+GHuNnbJn3N27Jy0q1OT+BP2ya8ySWzGFDzLHfD7lHYGOsEe1hOu+TPUV+
 5GAL/QZ900ZJ2g/noQVfZJ/ii7ZtKpWa14Q5Y93d54PO4Mgn1SCijv8bV2AzMt08xsrGe5kgN
 PM/HnoHEYyylKdRE7inFe8g7XFWfjElsHvJzqwV1hZrlXfVn/Lm6W+ygpbG6GNX/DYGbe4jQF
 0nxZkYMWQmyy09/gkaH7mh1lDq4Ef5DHp1lYaEA0ntkCZH6KtIMFvdOqgrlbpprpIth+Dua2D
 qf7gxpIsG+PBIsv/sBDrSlrlp7lgw/bdx9KZPuFLK2dml4SUj4ZoQt+bqOnkayrbxqPRux9yS
 HJYDX+bhTBvwjPF88P4q6eathik0ajQhjo02L4EDzYIq13HbV/nSupSTWVNTO1Er08p5JU7u3
 ESkenNZddVnPb9qilVk1XhbDv95/1IMmC66N9aXlMdzLys/eMoO4M7FHdGo=
X-Spam-Score: -3.6 (---)
X-Debbugs-Envelope-To: 24926
Cc: Paul Eggert <eggert@HIDDEN>, Eric Blake <eblake@HIDDEN>,
 Michael Schwager <mike@HIDDEN>
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: -3.6 (---)



On Friday 11 November 2016 21:00:23 Eric Blake wrote:
> On 11/11/2016 12:26 PM, Paul Eggert wrote:
> > Michael Schwager wrote:
> >> Don't you think I can see the spaces in my filenames?
> >
> > Not in general, no.  For example:
> >
> > $ ls --quoting-style=literal
> > a  b  c
> > $ ls
> > 'a  b'  c
> >
> > That being said, perhaps 'ls' could quote less aggressively.  If 'ls'
> > always arranges for at least two spaces between file names, for example,
> > 'ls' doesn't need to quote a name merely because it contains a space
> > surrounded by non-whitespace characters.  Come to think of it, 'ls -l'
> > need not quote file names containing spaces at all.
>
> If the idea is that the quoting is there to make copy-and-pasting into a
> shell command line easier, then there is nothing we can do that is less
> aggressive, since failing to quote spaces changes what the shell will
> do.  If the idea is that the quoting should only be added to avoid
> ambiguous situations, then maybe you are right that we can add further
> heuristics to the quoting algorithm to disable quotes on output that is
> unambiguous, even if it can't be pasted back into the shell.  Having two
> different quoting modes, where you can choose between the options, may
> be the way to go - but then you STILL have the problem of what to pick
> as the default of those two modes when neither one was explicitly
> requested.

The old behavior had not a problem at all. There was no need for re-thinking  
ls' purpose of existence, like "What is actually the idea of ls? ... if the 
idea is A, B or C then change X, Y or Z". What about "If most users like it 
as is then no need to change anything."?

Most other ls other implementations still do not have any problems. coreutils 
ls is now an unusual one by default. We have had many nice options to 
_enable_ and select different quoting styles. The only problem is that the 
default behavior changed. However this fact is ignored since months. Maybe 
you should add an FAQ, like:

Q: Why is ls ugly now?
A: It is not just ugly but also better! Imagine if you would like to 
copy/paste file names! It was possible in past using extra complicated 
options only but now even by default. Never thought about this? Just try to 
copy/paste, no need to read the ls output anymore. All your experience that 
ls was good as is since 20 years is wrong. BTW in the next release we will 
copy the ls output automatically into the clipboard without printing anything 
into the terminal (Then nobody can complain about ugly output anymore.)

cu,
Rudi






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

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


Received: (at 24926) by debbugs.gnu.org; 12 Nov 2016 01:59:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Nov 11 20:59:50 2016
Received: from localhost ([127.0.0.1]:54389 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1c5Nbh-0000dj-VZ
	for submit <at> debbugs.gnu.org; Fri, 11 Nov 2016 20:59:50 -0500
Received: from zimbra.cs.ucla.edu ([131.179.128.68]:33776)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eggert@HIDDEN>) id 1c5Nbg-0000dW-GX
 for 24926 <at> debbugs.gnu.org; Fri, 11 Nov 2016 20:59:49 -0500
Received: from localhost (localhost [127.0.0.1])
 by zimbra.cs.ucla.edu (Postfix) with ESMTP id 7F487160092;
 Fri, 11 Nov 2016 17:59:42 -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 2yhHkLnDjTY8; Fri, 11 Nov 2016 17:59:41 -0800 (PST)
Received: from localhost (localhost [127.0.0.1])
 by zimbra.cs.ucla.edu (Postfix) with ESMTP id 55A1716009D;
 Fri, 11 Nov 2016 17:59:41 -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 FKRF3L4bG9Ku; Fri, 11 Nov 2016 17:59:41 -0800 (PST)
Received: from [192.168.0.101] (unknown [47.153.178.162])
 by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 2F51C160092;
 Fri, 11 Nov 2016 17:59:41 -0800 (PST)
Subject: Re: bug#24926: ls output has been made ugly
To: =?UTF-8?Q?P=c3=a1draig_Brady?= <P@HIDDEN>,
 Michael Schwager <mike@HIDDEN>
References: <CAF-YLqF5HJWApgcfAaHL10TZZWsxOWtV4fH9qJp0cYO9xJvykA@HIDDEN>
 <86091437-a660-b5f8-5663-c4b84fb03b25@HIDDEN>
 <CAF-YLqFzcT+3cS9aVUW=oOHX42HYfoDKwF-b-=NUeMpgdAnORA@HIDDEN>
 <60091f22-280d-f912-8ab8-2b931895e640@HIDDEN>
 <38476b5f-d5b5-bc76-583e-ee23308ac93e@HIDDEN>
From: Paul Eggert <eggert@HIDDEN>
Message-ID: <5ce23098-855e-1ea1-cb80-b322bcc836df@HIDDEN>
Date: Fri, 11 Nov 2016 17:59:40 -0800
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
 Thunderbird/45.4.0
MIME-Version: 1.0
In-Reply-To: <38476b5f-d5b5-bc76-583e-ee23308ac93e@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.9 (--)
X-Debbugs-Envelope-To: 24926
Cc: 24926 <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: -2.9 (--)

On 11/11/2016 05:20 PM, P=C3=A1draig Brady wrote:
> BTW \u2019 might not be the best choice, as I tweeted recently
> (with corresponding quotes in each example):
>
>    It's awkward for file names to use shell quote
>    It=E2=80=99s awkward for word regex to use right quote
>    It=CA=BCs best to use apostrophe modifier (\u02BC)

But U+02BC MODIFIER LETTER APOSTROPHE is not the right character for=20
=E2=80=9CGroovin=E2=80=99=E2=80=9D in English, as that word ends in a pun=
ctuation apostrophe,=20
not a letter. If this happens to be awkward for regular expressions,we=20
should extend the regular-expression syntax to make it less awkward.




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

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


Received: (at 24926) by debbugs.gnu.org; 12 Nov 2016 01:20:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Nov 11 20:20:44 2016
Received: from localhost ([127.0.0.1]:54384 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1c5Mzr-0008A7-Qk
	for submit <at> debbugs.gnu.org; Fri, 11 Nov 2016 20:20:43 -0500
Received: from mail.magicbluesmoke.com ([82.195.144.49]:53582)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <P@HIDDEN>) id 1c5Mzq-00089z-ND
 for 24926 <at> debbugs.gnu.org; Fri, 11 Nov 2016 20:20:43 -0500
Received: from [192.168.1.80] (unknown [109.79.173.52])
 (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 5146F244;
 Sat, 12 Nov 2016 01:20:39 +0000 (GMT)
Subject: Re: bug#24926: ls output has been made ugly
To: Paul Eggert <eggert@HIDDEN>, Michael Schwager <mike@HIDDEN>
References: <CAF-YLqF5HJWApgcfAaHL10TZZWsxOWtV4fH9qJp0cYO9xJvykA@HIDDEN>
 <86091437-a660-b5f8-5663-c4b84fb03b25@HIDDEN>
 <CAF-YLqFzcT+3cS9aVUW=oOHX42HYfoDKwF-b-=NUeMpgdAnORA@HIDDEN>
 <60091f22-280d-f912-8ab8-2b931895e640@HIDDEN>
From: =?UTF-8?Q?P=c3=a1draig_Brady?= <P@HIDDEN>
Message-ID: <38476b5f-d5b5-bc76-583e-ee23308ac93e@HIDDEN>
Date: Sat, 12 Nov 2016 01:20:38 +0000
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <60091f22-280d-f912-8ab8-2b931895e640@HIDDEN>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 24926
Cc: 24926 <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.0 (/)

On 12/11/16 00:24, Paul Eggert wrote:
> Michael Schwager wrote:
>> please illustrate a real life problem
> 
> In general, file names can be chosen by an adversary. This is a real-life 
> problem for me, and for many other people (whether they know it or not).
> 
> Eric Blake's arguments for leaving things alone are cogent ones.
> 
> You can try to track down the design discussion by doing a git blame and looking 
> for something on the mailing list around the time the changes were installed.
> 
> Also, this may not be obvious, but you can avoid the ugliest part of the quoting 
> by using the proper English-language character in your song titles. For example:
> 
> $ ls
> Groovin’  'Higher Ground'  UB40
> 
> This works because ’ (U+2019 RIGHT SINGLE QUOTATION MARK), the ordinary 
> character to use in the English-language title “Groovin’”, is not subject to the 
> off-putting replacement by '\'' (also, this character avoids other problems when 
> cutting and pasting into the shell). This would be better than what you have 
> now. Perhaps a suggestion along these lines should be put into the coreutils manual?

Note v8.26 will simplify the quoting when just traditional single quotes are present
by using double quotes like: "Groovin'"

BTW \u2019 might not be the best choice, as I tweeted recently
(with corresponding quotes in each example):

  It's awkward for file names to use shell quote
  It’s awkward for word regex to use right quote
  Itʼs best to use apostrophe modifier (\u02BC)

cheers,
Pádraig.




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

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


Received: (at 24926) by debbugs.gnu.org; 12 Nov 2016 00:24:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Nov 11 19:24:56 2016
Received: from localhost ([127.0.0.1]:54378 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1c5M7s-0006qc-GE
	for submit <at> debbugs.gnu.org; Fri, 11 Nov 2016 19:24:56 -0500
Received: from zimbra.cs.ucla.edu ([131.179.128.68]:53670)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eggert@HIDDEN>) id 1c5M7q-0006qP-PN
 for 24926 <at> debbugs.gnu.org; Fri, 11 Nov 2016 19:24:55 -0500
Received: from localhost (localhost [127.0.0.1])
 by zimbra.cs.ucla.edu (Postfix) with ESMTP id 0C605160092;
 Fri, 11 Nov 2016 16:24:49 -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 o0HYIXTzEkQx; Fri, 11 Nov 2016 16:24:48 -0800 (PST)
Received: from localhost (localhost [127.0.0.1])
 by zimbra.cs.ucla.edu (Postfix) with ESMTP id 52C33160093;
 Fri, 11 Nov 2016 16:24:48 -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 HdC6-V2JA_lz; Fri, 11 Nov 2016 16:24:48 -0800 (PST)
Received: from [192.168.1.9] (unknown [47.153.178.162])
 by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 228CB160092;
 Fri, 11 Nov 2016 16:24:48 -0800 (PST)
Subject: Re: bug#24926: ls output has been made ugly
To: Michael Schwager <mike@HIDDEN>
References: <CAF-YLqF5HJWApgcfAaHL10TZZWsxOWtV4fH9qJp0cYO9xJvykA@HIDDEN>
 <86091437-a660-b5f8-5663-c4b84fb03b25@HIDDEN>
 <CAF-YLqFzcT+3cS9aVUW=oOHX42HYfoDKwF-b-=NUeMpgdAnORA@HIDDEN>
From: Paul Eggert <eggert@HIDDEN>
Organization: UCLA Computer Science Department
Message-ID: <60091f22-280d-f912-8ab8-2b931895e640@HIDDEN>
Date: Fri, 11 Nov 2016 16:24:47 -0800
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
 Thunderbird/45.4.0
MIME-Version: 1.0
In-Reply-To: <CAF-YLqFzcT+3cS9aVUW=oOHX42HYfoDKwF-b-=NUeMpgdAnORA@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.9 (--)
X-Debbugs-Envelope-To: 24926
Cc: 24926 <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: -2.9 (--)

Michael Schwager wrote:
> please illustrate a real life problem

In general, file names can be chosen by an adversary. This is a real-life=
=20
problem for me, and for many other people (whether they know it or not).

Eric Blake's arguments for leaving things alone are cogent ones.

You can try to track down the design discussion by doing a git blame and =
looking=20
for something on the mailing list around the time the changes were instal=
led.

Also, this may not be obvious, but you can avoid the ugliest part of the =
quoting=20
by using the proper English-language character in your song titles. For e=
xample:

$ ls
Groovin=E2=80=99  'Higher Ground'  UB40

This works because =E2=80=99 (U+2019 RIGHT SINGLE QUOTATION MARK), the or=
dinary=20
character to use in the English-language title =E2=80=9CGroovin=E2=80=99=E2=
=80=9D, is not subject to the=20
off-putting replacement by '\'' (also, this character avoids other proble=
ms when=20
cutting and pasting into the shell). This would be better than what you h=
ave=20
now. Perhaps a suggestion along these lines should be put into the coreut=
ils manual?




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

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


Received: (at 24926) by debbugs.gnu.org; 11 Nov 2016 22:27:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Nov 11 17:27:20 2016
Received: from localhost ([127.0.0.1]:54363 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1c5KI4-00042k-2b
	for submit <at> debbugs.gnu.org; Fri, 11 Nov 2016 17:27:20 -0500
Received: from mail-it0-f41.google.com ([209.85.214.41]:38416)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mike@HIDDEN>) id 1c5KI2-00042W-1j
 for 24926 <at> debbugs.gnu.org; Fri, 11 Nov 2016 17:27:18 -0500
Received: by mail-it0-f41.google.com with SMTP id q124so5285035itd.1
 for <24926 <at> debbugs.gnu.org>; Fri, 11 Nov 2016 14:27:18 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=schwager-com.20150623.gappssmtp.com; s=20150623;
 h=mime-version:in-reply-to:references:from:date:message-id:subject:to;
 bh=pHzkb4ds7ML9eXASl9vuDskq/hPI9Dse57wl1Vtk07U=;
 b=NNDtm54gF5cQfu2jpbBSvKBvhMFxn37s9BPe6l76Xb6QKFxKanPihT5+zf0qtoZpe5
 bpDy9DcW0ydYHfWvTLnpO7JoUYNlXTDqZKbnt8Sn6Rke/ZCcU//Lhbd1mbhqowaGBtvl
 8u/VE94Yl13VTYKbswEjjtdWkaVEJJf570Fw44E4kpTMpoti/Mv+8LuV9bveAAiCsCJw
 6xPiVVQo15JHWV4BlBdc2Bu1xpQKkbxqZFN5/0mBgjYWApUdcAOP2fN5dzLg3DJJ+J+U
 9rzw9wWGjycXXkM+uB2biQKomLSJi4t3u8hMf/INeXcSwVp4ZyAjV2llDEwAAeZiGX2v
 M1tQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:in-reply-to:references:from:date
 :message-id:subject:to;
 bh=pHzkb4ds7ML9eXASl9vuDskq/hPI9Dse57wl1Vtk07U=;
 b=HwogcVCT8bc5eab6UuI3FTiqtMbHv80p+jhyyzr+QEdIQZRAQIQpt+t6fCJOU6b1yY
 G8/nEt+3HFrBCiBSSAXtfIx058kskd2oLwMOv1KHG3BTd2oHVDquKII2aWJ28NTPjMcx
 4000GXdjP98c3L/RSkjCoNGs1hErqEE5tiriVZ4FfeF0Qme5n5cOl+fraB+5lrHs1mKR
 28IgTdfCMUFUBbObYS9Dqbk6hV0D7/fbfN8NHzzFoAvEe3UmlHBqw2N+mgKN/YWew1B0
 whNZYbhrGiYx1NhzURYWEA42MhUsQfOv8oS2H36mE+0Jq9eGdC3CcbmUWFIjzF6cRnd/
 7AYA==
X-Gm-Message-State: ABUngvfLlKHUuUc+I6cdqEIrqoLCXHbM4+XxJxUKMwV1/rudng1PW0mP5/Y9OCTohyXQRy4b+lOjabKzTKJ0yw==
X-Received: by 10.107.21.2 with SMTP id 2mr14951855iov.179.1478903231931; Fri,
 11 Nov 2016 14:27:11 -0800 (PST)
MIME-Version: 1.0
Received: by 10.107.172.132 with HTTP; Fri, 11 Nov 2016 14:27:11 -0800 (PST)
In-Reply-To: <86091437-a660-b5f8-5663-c4b84fb03b25@HIDDEN>
References: <CAF-YLqF5HJWApgcfAaHL10TZZWsxOWtV4fH9qJp0cYO9xJvykA@HIDDEN>
 <86091437-a660-b5f8-5663-c4b84fb03b25@HIDDEN>
From: Michael Schwager <mike@HIDDEN>
Date: Fri, 11 Nov 2016 16:27:11 -0600
Message-ID: <CAF-YLqEKE-OfxhBJoC+fuhP3+BFry4151kkuTcKFFafTJEdgMQ@HIDDEN>
Subject: Re: bug#24926: ls output has been made ugly
To: 24926 <at> debbugs.gnu.org
Content-Type: multipart/alternative; boundary=94eb2c05c184cbfe6e05410dfd5e
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 24926
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.5 (/)

--94eb2c05c184cbfe6e05410dfd5e
Content-Type: text/plain; charset=UTF-8

Can anyone point me to the mailing list discussion where this originally
was decided?

There are legion of coreutils users out there who are dumbfounded and who
detest this change; I see that Debian has reverted it. However, I (and
Debian) could be wrong. I'd like to see the original discussion which will
hopefully point to the well-founded reasoning for its implementation (eg,
POSIX requires it, a tremendous clamour from the user community, what have
you).

I have searched in the mailing list but not found the original point of the
decision; I don't have the proper expression foo to return it...

-- 
-Mike Schwager

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

<div dir=3D"ltr"><div><div>Can anyone point me to the mailing list discussi=
on where this originally was decided? <br><br></div>There are legion of cor=
eutils users out there who are dumbfounded and who detest this change; I se=
e that Debian has reverted it. However, I (and Debian) could be wrong. I&#3=
9;d like to see the original discussion which will hopefully point to the w=
ell-founded reasoning for its implementation (eg, POSIX requires it, a trem=
endous clamour from the user community, what have you).<br><br></div>I have=
 searched in the mailing list but not found the original point of the decis=
ion; I don&#39;t have the proper expression foo to return it...<br clear=3D=
"all"><div><div><div><div class=3D"gmail_extra"><br>-- <br><div class=3D"gm=
ail_signature" data-smartmail=3D"gmail_signature">-Mike Schwager</div>
</div></div></div></div></div>

--94eb2c05c184cbfe6e05410dfd5e--




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

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


Received: (at 24926) by debbugs.gnu.org; 11 Nov 2016 21:49:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Nov 11 16:49:04 2016
Received: from localhost ([127.0.0.1]:54355 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1c5Jh1-00036q-V3
	for submit <at> debbugs.gnu.org; Fri, 11 Nov 2016 16:49:04 -0500
Received: from vhrz24.hrz.uni-marburg.de ([137.248.1.34]:47269)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <reuti@HIDDEN>) id 1c5Jh0-00036N-2I
 for 24926 <at> debbugs.gnu.org; Fri, 11 Nov 2016 16:49:03 -0500
Received: from [10.0.1.5] (pD9E3C0AB.dip0.t-ipconnect.de [217.227.192.171])
 (authenticated bits=0)
 by vhrz24.HRZ.Uni-Marburg.DE (8.14.4/8.14.4/Debian-8+deb8u1) with ESMTP id
 uABLmcIF049987
 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-SHA bits=128 verify=NOT);
 Fri, 11 Nov 2016 22:48:41 +0100
Subject: Re: bug#24926: ls output has been made ugly
Mime-Version: 1.0 (Apple Message framework v1085)
Content-Type: text/plain; charset=us-ascii
From: Reuti <reuti@HIDDEN>
In-Reply-To: <61ac0d39-3790-f638-164a-390c321f698f@HIDDEN>
Date: Fri, 11 Nov 2016 22:48:37 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <B8884FDF-2FE1-4383-BB0F-0A2364C6D186@HIDDEN>
References: <CAF-YLqF5HJWApgcfAaHL10TZZWsxOWtV4fH9qJp0cYO9xJvykA@HIDDEN>
 <58261EB4.2020301@HIDDEN>
 <e1fbff19-f2e1-4ff3-34ce-be6fff38262e@HIDDEN>
 <58263335.1030200@HIDDEN>
 <61ac0d39-3790-f638-164a-390c321f698f@HIDDEN>
To: Eric Blake <eblake@HIDDEN>
X-Pgp-Agent: GPGMail 1.4.1
X-Mailer: Apple Mail (2.1085)
X-Null-Tag: 01424470fb70597b9588d8edaa5efb6d
X-UniMR-MailScanner-Information: see
 http://www.uni-marburg.de/hrz/internet/mail/spam/
X-UniMR-MailScanner-ID: uABLmcIF049987
X-UniMR-MailScanner: Found to be clean
X-UniMR-MailScanner-From: reuti@HIDDEN
X-Spam-Score: -5.2 (-----)
X-Debbugs-Envelope-To: 24926
Cc: 24926 <at> debbugs.gnu.org, Paul Eggert <eggert@HIDDEN>,
 "L. A. Walsh" <coreutils@HIDDEN>, Michael Schwager <mike@HIDDEN>
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: -5.2 (-----)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Am 11.11.2016 um 22:23 schrieb Eric Blake:
>=20
> Knowing the pitfalls makes it easier to justify why an output that is
> unambiguous

Will it honor alt-space at some point?


> was chosen as the new default over the previous ambiguous
> output; any further changes to the default are now a matter of
> fine-tuning about how much (or how little) decoration we can get away
> with, while still avoiding a regression to the situation of ambiguous
> output.


For copy and paste you don't need quotes around alt-space, but you don't =
see where it ends:

$ ls --quoting-style=3Dliteral
a b  a b  a  b	a   b   xx=20
$ ls --quoting-style=3Dshell
'a b'  a b  a  b  a   b   xx=20
$ ls --quoting-style=3Dshell-always
'a b'  'a b'  'a  b'  'a   b'  ' xx '
$ ls -l
total 0
- -rw-r--r-- 1 reuti staff 0 Nov 11 21:13 'a b'
- -rw-r--r-- 1 reuti staff 0 Nov 11 21:13 a b
- -rw-r--r-- 1 reuti staff 0 Nov 11 21:17 a  b
- -rw-r--r-- 1 reuti staff 0 Nov 11 21:17 a   b
- -rw-r--r-- 1 reuti staff 0 Nov 11 21:45  xx=20
$ ls -l --quoting-style=3Dshell-always
total 0
- -rw-r--r-- 1 reuti staff 0 Nov 11 21:13 'a b'
- -rw-r--r-- 1 reuti staff 0 Nov 11 21:13 'a b'
- -rw-r--r-- 1 reuti staff 0 Nov 11 21:17 'a  b'
- -rw-r--r-- 1 reuti staff 0 Nov 11 21:17 'a   b'
- -rw-r--r-- 1 reuti staff 0 Nov 11 21:45 ' xx '

Personally I like only the two options to quote always (as you expect =
such names) or never, but not to quote sometimes.

- -- Reuti
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iEYEARECAAYFAlgmPLUACgkQo/GbGkBRnRoTsgCfeApMOM3wijQorhmpWX1y1cuJ
YYEAn2n9j0eSzoGWLVbDmg2g8l+A1Evj
=3DjqwR
-----END PGP SIGNATURE-----




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

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


Received: (at 24926) by debbugs.gnu.org; 11 Nov 2016 21:47:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Nov 11 16:47:14 2016
Received: from localhost ([127.0.0.1]:54351 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1c5JfG-00033h-KW
	for submit <at> debbugs.gnu.org; Fri, 11 Nov 2016 16:47:14 -0500
Received: from ishtar.tlinx.org ([173.164.175.65]:54642
 helo=Ishtar.sc.tlinx.org) by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <coreutils@HIDDEN>) id 1c5JfF-00033X-3z
 for 24926 <at> debbugs.gnu.org; Fri, 11 Nov 2016 16:47:13 -0500
Received: from [192.168.3.12] (Athenae [192.168.3.12])
 by Ishtar.sc.tlinx.org (8.14.7/8.14.4/SuSE Linux 0.8) with ESMTP id
 uABLl1eE096731; Fri, 11 Nov 2016 13:47:03 -0800
Message-ID: <58263C5B.2080507@HIDDEN>
Date: Fri, 11 Nov 2016 13:47:07 -0800
From: "L. A. Walsh" <coreutils@HIDDEN>
User-Agent: Thunderbird
MIME-Version: 1.0
To: Eric Blake <eblake@HIDDEN>
Subject: Re: bug#24926: ls output has been made ugly
References: <CAF-YLqF5HJWApgcfAaHL10TZZWsxOWtV4fH9qJp0cYO9xJvykA@HIDDEN>
 <86091437-a660-b5f8-5663-c4b84fb03b25@HIDDEN>
 <281fc5e6-02e1-e6b0-0ab8-36427616db21@HIDDEN> <58263764.40904@HIDDEN>
 <cb8b3c70-867c-4c15-5b49-3a834b3595c1@HIDDEN>
In-Reply-To: <cb8b3c70-867c-4c15-5b49-3a834b3595c1@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: -2.9 (--)
X-Debbugs-Envelope-To: 24926
Cc: Paul Eggert <eggert@HIDDEN>, 24926 <at> debbugs.gnu.org,
 Michael Schwager <mike@HIDDEN>
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.9 (--)



Eric Blake wrote:
> On 11/11/2016 03:25 PM, L. A. Walsh wrote:
>> Eric Blake wrote:
>>> If the idea is that the quoting is there to make copy-and-pasting into a
>>> shell command line easier, then there is nothing we can do that is less
>>> aggressive, since failing to quote spaces changes what the shell will
>>> do. 
>> ----
>>    I assume you are talking about "quoting-style=shell-always"
>> and not the conditional quoting you get for "quoting-style=shell"?
> 
> quoting-style=shell-always uses quotes ALWAYS, even if the quotes are
> redundant.  quoting-style=shell uses quotes ONLY if the shell could
> otherwise interpret it differently without the quotes.
---
	I understand that.  It sounded like you were talking
about changing the default output to use quotes, which would be
a disaster.

	I know of multiple scripts that use 
"\ls -1" to get a single column of filenames for input (assuming
it is known that there are no embedded newlines in your
filenames).  For most people that is true.  If you need more 
quoting, then output strings with a \00 at the end.  It's the
only guarantee of not being used in a filename.




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

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


Received: (at 24926) by debbugs.gnu.org; 11 Nov 2016 21:39:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Nov 11 16:39:38 2016
Received: from localhost ([127.0.0.1]:54332 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1c5JXu-0002qz-BV
	for submit <at> debbugs.gnu.org; Fri, 11 Nov 2016 16:39:38 -0500
Received: from mx1.redhat.com ([209.132.183.28]:46528)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eblake@HIDDEN>) id 1c5JXs-0002qn-NL
 for 24926 <at> debbugs.gnu.org; Fri, 11 Nov 2016 16:39:37 -0500
Received: from int-mx09.intmail.prod.int.phx2.redhat.com
 (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22])
 (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 3AD4FC05680F;
 Fri, 11 Nov 2016 21:39:31 +0000 (UTC)
Received: from [10.3.116.116] (ovpn-116-116.phx2.redhat.com [10.3.116.116])
 by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id
 uABLdUtI004162; Fri, 11 Nov 2016 16:39:30 -0500
Subject: Re: bug#24926: ls output has been made ugly
To: "L. A. Walsh" <coreutils@HIDDEN>
References: <CAF-YLqF5HJWApgcfAaHL10TZZWsxOWtV4fH9qJp0cYO9xJvykA@HIDDEN>
 <86091437-a660-b5f8-5663-c4b84fb03b25@HIDDEN>
 <281fc5e6-02e1-e6b0-0ab8-36427616db21@HIDDEN> <58263764.40904@HIDDEN>
From: Eric Blake <eblake@HIDDEN>
Openpgp: url=http://people.redhat.com/eblake/eblake.gpg
Organization: Red Hat, Inc.
Message-ID: <cb8b3c70-867c-4c15-5b49-3a834b3595c1@HIDDEN>
Date: Fri, 11 Nov 2016 15:39:29 -0600
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
 Thunderbird/45.4.0
MIME-Version: 1.0
In-Reply-To: <58263764.40904@HIDDEN>
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="JL7D52Sh0vin0UOgMrheflRWQJ5EF7BLF"
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16
 (mx1.redhat.com [10.5.110.32]); Fri, 11 Nov 2016 21:39:31 +0000 (UTC)
X-Spam-Score: -7.9 (-------)
X-Debbugs-Envelope-To: 24926
Cc: Paul Eggert <eggert@HIDDEN>, 24926 <at> debbugs.gnu.org,
 Michael Schwager <mike@HIDDEN>
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: -7.9 (-------)

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--JL7D52Sh0vin0UOgMrheflRWQJ5EF7BLF
Content-Type: multipart/mixed; boundary="v3rXheILNq8JsR3V176s1b4ThGD1Iq1g6";
 protected-headers="v1"
From: Eric Blake <eblake@HIDDEN>
To: "L. A. Walsh" <coreutils@HIDDEN>
Cc: Paul Eggert <eggert@HIDDEN>, Michael Schwager <mike@HIDDEN>,
 24926 <at> debbugs.gnu.org
Message-ID: <cb8b3c70-867c-4c15-5b49-3a834b3595c1@HIDDEN>
Subject: Re: bug#24926: ls output has been made ugly
References: <CAF-YLqF5HJWApgcfAaHL10TZZWsxOWtV4fH9qJp0cYO9xJvykA@HIDDEN>
 <86091437-a660-b5f8-5663-c4b84fb03b25@HIDDEN>
 <281fc5e6-02e1-e6b0-0ab8-36427616db21@HIDDEN> <58263764.40904@HIDDEN>
In-Reply-To: <58263764.40904@HIDDEN>

--v3rXheILNq8JsR3V176s1b4ThGD1Iq1g6
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 11/11/2016 03:25 PM, L. A. Walsh wrote:
> Eric Blake wrote:
>>
>> If the idea is that the quoting is there to make copy-and-pasting into=
 a
>> shell command line easier, then there is nothing we can do that is les=
s
>> aggressive, since failing to quote spaces changes what the shell will
>> do.=20
> ----
>    I assume you are talking about "quoting-style=3Dshell-always"
> and not the conditional quoting you get for "quoting-style=3Dshell"?

quoting-style=3Dshell-always uses quotes ALWAYS, even if the quotes are
redundant.  quoting-style=3Dshell uses quotes ONLY if the shell could
otherwise interpret it differently without the quotes.  Reusing Paul's
example:

$ \ls --quoting-style=3Dshell
'a  b'	c
$ \ls --quoting-style=3Dshell-always
'a  b'	'c'

Note that 'a  b' needed quoting under both styles, but 'c' was conditiona=
l.

>>  If the idea is that the quoting should only be added to avoid
>> ambiguous situations, then maybe you are right that we can add further=

>> heuristics to the quoting algorithm to disable quotes on output that i=
s
>> unambiguous, even if it can't be pasted back into the shell.  Having t=
wo
>> different quoting modes, where you can choose between the options, may=

>> be the way to go - but then you STILL have the problem of what to pick=

>> as the default of those two modes when neither one was explicitly
>> requested.
>>  =20
> ----
>    Seems like the default is to not put quotes.  That's what
> is used now.  Why would you break it?

Paul was suggesting _yet another mode_ (which someone would have to
write patches for), which avoids quotes in all situations where the
output is unambiguous (a file 'a b' is unambiguous in 'ls' output even
without quotes, since the ambiguity only arises if you have two spaces;
but a file 'a  b' would still need quotes, as would a file that itself
contains literal quotes in the name), but also pointing out that the
definition of "not ambiguous" may be context sensitive (the ambiguity of
plain 'ls' [two spaces, embedded newline, or something that uses the
same mechanism we use for escaping the other ambiguous cases] differs
from the ambiguity of 'ls -l' [embedded newline, or something that uses
the same mechanism we use for escaping the other ambiguous cases],
because two spaces is ambiguous in one but not the other).

Personally, I think that trying hard to avoid quotes makes the addition
of quotes that much more surprising when hitting the corner cases, which
by their nature are already corner cases and therefore somewhat rare, so
I'd rather stick with a style that is very easy to describe ("if the
shell could misintepret it without quotes, add quotes; and this applies
regardless of the app using this quoting rule") over one that is
difficult ("if it matches potential ambiguity A, B, or C, add quotes -
but now you have to learn a different list of A, B, and C for every app
and context that has different ambiguities").

Furthermore, I _like_ quoting-style=3Dshell (and NOT
quoting-style=3Dshell-always) in one regards: when dealing solely with
file names that are declared portable according to POSIX,
quoting-style=3Dshell is indistinguishable from quoting-style=3Dliteral. =
 It
is only on file names that are already inherently non-portable to all
possible file systems where the additional quotes calls my attention to
the potential portability issue, whereas quoting-style=3Dalways does not
have that benefit.

--=20
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


--v3rXheILNq8JsR3V176s1b4ThGD1Iq1g6--

--JL7D52Sh0vin0UOgMrheflRWQJ5EF7BLF
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/

iQEcBAEBCAAGBQJYJjqSAAoJEKeha0olJ0Nq+eMH/1sU3SCWvl1fh3Ja9KEP9tn+
uxCwxz/YJOm4jWz0N5Lofgz0qrLSlEFZQEh8tTvihcIkoOe0okgyaD2dIZ9LacAe
CLRY2x7uSwfRuNYH1QhG08PHutDwI9Es5zNh075bBg0Bg3YbKqi2M7UoYSvM7O5d
uAbwRUDM3ddpEyhSTslnHfjpsyC0Jd5YHOAuOVP+IYvPSxPeRE/4nmKpHGPWV9KL
SRM4tws+4G0VJU/gcQxZkfUkPkTcqXMAMY4kxCAWVMp+kcL7hj5IDzrDj3pqwsAV
2nAx0EyOIiEIMJd1ekJ/qpyuChoWx/WOGTCD57XOSBKRM1DFzURPAn0ZjMRgUBU=
=AmnI
-----END PGP SIGNATURE-----

--JL7D52Sh0vin0UOgMrheflRWQJ5EF7BLF--




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

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


Received: (at 24926) by debbugs.gnu.org; 11 Nov 2016 21:29:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Nov 11 16:29:46 2016
Received: from localhost ([127.0.0.1]:54328 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1c5JOM-0002ba-FI
	for submit <at> debbugs.gnu.org; Fri, 11 Nov 2016 16:29:46 -0500
Received: from ishtar.tlinx.org ([173.164.175.65]:54028
 helo=Ishtar.sc.tlinx.org) by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <coreutils@HIDDEN>) id 1c5JOK-0002bR-Lb
 for 24926 <at> debbugs.gnu.org; Fri, 11 Nov 2016 16:29:44 -0500
Received: from [192.168.3.12] (Athenae [192.168.3.12])
 by Ishtar.sc.tlinx.org (8.14.7/8.14.4/SuSE Linux 0.8) with ESMTP id
 uABLTXlt095155; Fri, 11 Nov 2016 13:29:35 -0800
Message-ID: <58263843.7070400@HIDDEN>
Date: Fri, 11 Nov 2016 13:29:39 -0800
From: "L. A. Walsh" <coreutils@HIDDEN>
User-Agent: Thunderbird
MIME-Version: 1.0
To: Eric Blake <eblake@HIDDEN>
Subject: Re: bug#24926: ls output has been made ugly
References: <CAF-YLqF5HJWApgcfAaHL10TZZWsxOWtV4fH9qJp0cYO9xJvykA@HIDDEN>
 <58261EB4.2020301@HIDDEN>
 <e1fbff19-f2e1-4ff3-34ce-be6fff38262e@HIDDEN>
 <58263335.1030200@HIDDEN>
 <61ac0d39-3790-f638-164a-390c321f698f@HIDDEN>
In-Reply-To: <61ac0d39-3790-f638-164a-390c321f698f@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: -2.9 (--)
X-Debbugs-Envelope-To: 24926
Cc: Paul Eggert <eggert@HIDDEN>, 24926 <at> debbugs.gnu.org,
 Michael Schwager <mike@HIDDEN>
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.9 (--)



Eric Blake wrote:
> He didn't have to. His point was merely that with the old ls, you can
> have inherently ambiguous situations.  Think of it as an exercise for
> the reader to figure out ways to get into those ambiguous situations.
----
	Good communication isn't supposed to be
a puzzle.  Creating puzzles in order for people to get your
message is, again, a way to "make points" and play games.

Sorry.  I was told to provide the means to reproduce my examples
when reporting a problem.  That wasn't done.  Poor example.
Justifying it as providing a puzzle for readers to solve is
just another game.




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

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


Received: (at 24926) by debbugs.gnu.org; 11 Nov 2016 21:27:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Nov 11 16:27:29 2016
Received: from localhost ([127.0.0.1]:54323 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1c5JM9-0002Y6-4r
	for submit <at> debbugs.gnu.org; Fri, 11 Nov 2016 16:27:29 -0500
Received: from ishtar.tlinx.org ([173.164.175.65]:53938
 helo=Ishtar.sc.tlinx.org) by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <coreutils@HIDDEN>) id 1c5JM7-0002Xz-LR
 for 24926 <at> debbugs.gnu.org; Fri, 11 Nov 2016 16:27:28 -0500
Received: from [192.168.3.12] (Athenae [192.168.3.12])
 by Ishtar.sc.tlinx.org (8.14.7/8.14.4/SuSE Linux 0.8) with ESMTP id
 uABLRGlC094872; Fri, 11 Nov 2016 13:27:18 -0800
Message-ID: <582637BA.1090005@HIDDEN>
Date: Fri, 11 Nov 2016 13:27:22 -0800
From: "L. A. Walsh" <coreutils@HIDDEN>
User-Agent: Thunderbird
MIME-Version: 1.0
To: Eric Blake <eblake@HIDDEN>
Subject: Re: bug#24926: ls output has been made ugly
References: <CAF-YLqF5HJWApgcfAaHL10TZZWsxOWtV4fH9qJp0cYO9xJvykA@HIDDEN>	<58261EB4.2020301@HIDDEN>	<e1fbff19-f2e1-4ff3-34ce-be6fff38262e@HIDDEN>	<58263335.1030200@HIDDEN>
 <61ac0d39-3790-f638-164a-390c321f698f@HIDDEN>
In-Reply-To: <61ac0d39-3790-f638-164a-390c321f698f@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: -2.9 (--)
X-Debbugs-Envelope-To: 24926
Cc: Paul Eggert <eggert@HIDDEN>, 24926 <at> debbugs.gnu.org,
 Michael Schwager <mike@HIDDEN>
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.9 (--)



Eric Blake wrote:
> Knowing the pitfalls makes it easier to justify why an output that is
> unambiguous was chosen as the new default over the previous ambiguous
> output; any further changes to the default are now a matter of
> fine-tuning about how much (or how little) decoration we can get away
> with, while still avoiding a regression to the situation of ambiguous
> output.
---
	That's bull!  You don't just randomly change 
output in programs and break compatibility.  If the user
wanted unambiguous, there are already options.




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

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


Received: (at 24926) by debbugs.gnu.org; 11 Nov 2016 21:26:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Nov 11 16:26:04 2016
Received: from localhost ([127.0.0.1]:54319 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1c5JKl-0002Vx-RY
	for submit <at> debbugs.gnu.org; Fri, 11 Nov 2016 16:26:03 -0500
Received: from ishtar.tlinx.org ([173.164.175.65]:53902
 helo=Ishtar.sc.tlinx.org) by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <coreutils@HIDDEN>) id 1c5JKj-0002Vf-SJ
 for 24926 <at> debbugs.gnu.org; Fri, 11 Nov 2016 16:26:02 -0500
Received: from [192.168.3.12] (Athenae [192.168.3.12])
 by Ishtar.sc.tlinx.org (8.14.7/8.14.4/SuSE Linux 0.8) with ESMTP id
 uABLPoDY094774; Fri, 11 Nov 2016 13:25:53 -0800
Message-ID: <58263764.40904@HIDDEN>
Date: Fri, 11 Nov 2016 13:25:56 -0800
From: "L. A. Walsh" <coreutils@HIDDEN>
User-Agent: Thunderbird
MIME-Version: 1.0
To: Eric Blake <eblake@HIDDEN>
Subject: Re: bug#24926: ls output has been made ugly
References: <CAF-YLqF5HJWApgcfAaHL10TZZWsxOWtV4fH9qJp0cYO9xJvykA@HIDDEN>	<86091437-a660-b5f8-5663-c4b84fb03b25@HIDDEN>
 <281fc5e6-02e1-e6b0-0ab8-36427616db21@HIDDEN>
In-Reply-To: <281fc5e6-02e1-e6b0-0ab8-36427616db21@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: -2.9 (--)
X-Debbugs-Envelope-To: 24926
Cc: Paul Eggert <eggert@HIDDEN>, 24926 <at> debbugs.gnu.org,
 Michael Schwager <mike@HIDDEN>
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.9 (--)

Eric Blake wrote:
>
> If the idea is that the quoting is there to make copy-and-pasting into a
> shell command line easier, then there is nothing we can do that is less
> aggressive, since failing to quote spaces changes what the shell will
> do. 
----
    I assume you are talking about "quoting-style=shell-always"
and not the conditional quoting you get for "quoting-style=shell"?



>  If the idea is that the quoting should only be added to avoid
> ambiguous situations, then maybe you are right that we can add further
> heuristics to the quoting algorithm to disable quotes on output that is
> unambiguous, even if it can't be pasted back into the shell.  Having two
> different quoting modes, where you can choose between the options, may
> be the way to go - but then you STILL have the problem of what to pick
> as the default of those two modes when neither one was explicitly requested.
>   
----
    Seems like the default is to not put quotes.  That's what
is used now.  Why would you break it?






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

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


Received: (at 24926) by debbugs.gnu.org; 11 Nov 2016 21:23:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Nov 11 16:23:41 2016
Received: from localhost ([127.0.0.1]:54315 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1c5JIT-0002S0-E4
	for submit <at> debbugs.gnu.org; Fri, 11 Nov 2016 16:23:41 -0500
Received: from mx1.redhat.com ([209.132.183.28]:39808)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eblake@HIDDEN>) id 1c5JIR-0002Rk-ND
 for 24926 <at> debbugs.gnu.org; Fri, 11 Nov 2016 16:23:40 -0500
Received: from int-mx13.intmail.prod.int.phx2.redhat.com
 (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26])
 (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 BE3B861BA4;
 Fri, 11 Nov 2016 21:23:33 +0000 (UTC)
Received: from [10.3.116.116] (ovpn-116-116.phx2.redhat.com [10.3.116.116])
 by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id
 uABLNWZK018362; Fri, 11 Nov 2016 16:23:33 -0500
Subject: Re: bug#24926: ls output has been made ugly
To: "L. A. Walsh" <coreutils@HIDDEN>
References: <CAF-YLqF5HJWApgcfAaHL10TZZWsxOWtV4fH9qJp0cYO9xJvykA@HIDDEN>
 <58261EB4.2020301@HIDDEN>
 <e1fbff19-f2e1-4ff3-34ce-be6fff38262e@HIDDEN>
 <58263335.1030200@HIDDEN>
From: Eric Blake <eblake@HIDDEN>
Openpgp: url=http://people.redhat.com/eblake/eblake.gpg
Organization: Red Hat, Inc.
Message-ID: <61ac0d39-3790-f638-164a-390c321f698f@HIDDEN>
Date: Fri, 11 Nov 2016 15:23:32 -0600
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
 Thunderbird/45.4.0
MIME-Version: 1.0
In-Reply-To: <58263335.1030200@HIDDEN>
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="E6jTaKWHexDVRBrn4pED7OhAFDGtojtuA"
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16
 (mx1.redhat.com [10.5.110.39]); Fri, 11 Nov 2016 21:23:33 +0000 (UTC)
X-Spam-Score: -7.9 (-------)
X-Debbugs-Envelope-To: 24926
Cc: Paul Eggert <eggert@HIDDEN>, 24926 <at> debbugs.gnu.org,
 Michael Schwager <mike@HIDDEN>
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: -7.9 (-------)

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--E6jTaKWHexDVRBrn4pED7OhAFDGtojtuA
Content-Type: multipart/mixed; boundary="dr71TDEc7hnLl2XNDuCFEbHD8Aocljvxq";
 protected-headers="v1"
From: Eric Blake <eblake@HIDDEN>
To: "L. A. Walsh" <coreutils@HIDDEN>
Cc: Paul Eggert <eggert@HIDDEN>, 24926 <at> debbugs.gnu.org,
 Michael Schwager <mike@HIDDEN>
Message-ID: <61ac0d39-3790-f638-164a-390c321f698f@HIDDEN>
Subject: Re: bug#24926: ls output has been made ugly
References: <CAF-YLqF5HJWApgcfAaHL10TZZWsxOWtV4fH9qJp0cYO9xJvykA@HIDDEN>
 <58261EB4.2020301@HIDDEN>
 <e1fbff19-f2e1-4ff3-34ce-be6fff38262e@HIDDEN>
 <58263335.1030200@HIDDEN>
In-Reply-To: <58263335.1030200@HIDDEN>

--dr71TDEc7hnLl2XNDuCFEbHD8Aocljvxq
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 11/11/2016 03:08 PM, L. A. Walsh wrote:
>=20
>=20
> Eric Blake wrote:
>>>>  touch 'a b' c
>>
>> That's your problem.  Paul did:
>>
>> $ touch 'a  b' c
> ----
>     He didn't list his creation command.  How
> would you know?

Because that's what worked for me to reproduce his commands.

>=20
>=20
>> with two spaces, not one.
> ---
> You are assuming that.  But if he didn't list how
> he created them...

He didn't have to. His point was merely that with the old ls, you can
have inherently ambiguous situations.  Think of it as an exercise for
the reader to figure out ways to get into those ambiguous situations.

Knowing the pitfalls makes it easier to justify why an output that is
unambiguous was chosen as the new default over the previous ambiguous
output; any further changes to the default are now a matter of
fine-tuning about how much (or how little) decoration we can get away
with, while still avoiding a regression to the situation of ambiguous
output.

--=20
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


--dr71TDEc7hnLl2XNDuCFEbHD8Aocljvxq--

--E6jTaKWHexDVRBrn4pED7OhAFDGtojtuA
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/

iQEcBAEBCAAGBQJYJjbUAAoJEKeha0olJ0Nqg6EH/0xpt7rCOfqV6yB4GWAm5w9T
+24KnI/I5OShaHR6ZHisdPHw+lIjxE4RzCh4JYgtXfDlrPmz2W4UYqD1fE36kU+e
HowIcWGBMzcg71zW97HyzhUzQwlwD3XxIqcfd3i0QYk8+qRyn1xTlM0wCsPXUl5l
C9G2Bwi5qicwBIeqVfDL4WNoaU62d1dSoDSmUrfLYiTQ8I33/CIxrxgemKVVfHpz
mi6rCikhBHAVfGG/YW39z3pU7a86RvaeYXi29ipoZisOLuoDbVe7qxRdCHHbk+QP
SK4/ei+orw5//Q+QRL+3z8mhU3713TXqIqgS3QHJMtssqecdjjQsQpU62bs+8t8=
=6NNe
-----END PGP SIGNATURE-----

--E6jTaKWHexDVRBrn4pED7OhAFDGtojtuA--




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

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


Received: (at 24926) by debbugs.gnu.org; 11 Nov 2016 21:08:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Nov 11 16:08:13 2016
Received: from localhost ([127.0.0.1]:54310 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1c5J3V-00024m-4A
	for submit <at> debbugs.gnu.org; Fri, 11 Nov 2016 16:08:13 -0500
Received: from ishtar.tlinx.org ([173.164.175.65]:53258
 helo=Ishtar.sc.tlinx.org) by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <coreutils@HIDDEN>) id 1c5J3T-00024e-L8
 for 24926 <at> debbugs.gnu.org; Fri, 11 Nov 2016 16:08:12 -0500
Received: from [192.168.3.12] (Athenae [192.168.3.12])
 by Ishtar.sc.tlinx.org (8.14.7/8.14.4/SuSE Linux 0.8) with ESMTP id
 uABL7xFq093589; Fri, 11 Nov 2016 13:08:01 -0800
Message-ID: <58263335.1030200@HIDDEN>
Date: Fri, 11 Nov 2016 13:08:05 -0800
From: "L. A. Walsh" <coreutils@HIDDEN>
User-Agent: Thunderbird
MIME-Version: 1.0
To: Eric Blake <eblake@HIDDEN>
Subject: Re: bug#24926: ls output has been made ugly
References: <CAF-YLqF5HJWApgcfAaHL10TZZWsxOWtV4fH9qJp0cYO9xJvykA@HIDDEN>
 <58261EB4.2020301@HIDDEN>
 <e1fbff19-f2e1-4ff3-34ce-be6fff38262e@HIDDEN>
In-Reply-To: <e1fbff19-f2e1-4ff3-34ce-be6fff38262e@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: -2.9 (--)
X-Debbugs-Envelope-To: 24926
Cc: Paul Eggert <eggert@HIDDEN>, 24926 <at> debbugs.gnu.org,
 Michael Schwager <mike@HIDDEN>
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.9 (--)



Eric Blake wrote:
>>>  touch 'a b' c
> 
> That's your problem.  Paul did:
> 
> $ touch 'a  b' c
----
	He didn't list his creation command.  How
would you know?


> with two spaces, not one.
---
You are assuming that.  But if he didn't list how
he created them...



>> Where (or under what conditions)
>> do you see the "a, b and c" being
>> spaced apart equally?
> 
> When you intentionally create the spacing between a and b to match the
> spacing between a*b and c.
---
	Why would you intentionally create something to be 
confusing?  ;-?

	Oh... to make a point and win an argument.  Silly me.





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

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


Received: (at 24926) by debbugs.gnu.org; 11 Nov 2016 21:00:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Nov 11 16:00:50 2016
Received: from localhost ([127.0.0.1]:54305 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1c5IwM-0001tt-8V
	for submit <at> debbugs.gnu.org; Fri, 11 Nov 2016 16:00:50 -0500
Received: from mail-it0-f47.google.com ([209.85.214.47]:36272)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mike@HIDDEN>) id 1c5IZe-0001M3-0r
 for 24926 <at> debbugs.gnu.org; Fri, 11 Nov 2016 15:37:22 -0500
Received: by mail-it0-f47.google.com with SMTP id q124so336883957itd.1
 for <24926 <at> debbugs.gnu.org>; Fri, 11 Nov 2016 12:37:21 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=schwager-com.20150623.gappssmtp.com; s=20150623;
 h=mime-version:in-reply-to:references:from:date:message-id:subject:to
 :cc; bh=iAWaEb0PXAcMh9vG8xjIj/MUMTB0CUiTXeLuWQ0KOrg=;
 b=ydDcZLLOD4aSlBeB0t50PX/vLGn5jNUnoQEHpiNQgaabZmFRHBnQq0YcXtJyYrlxyP
 qQUETr+0rD9tcW3AS2OTKY0auzWfEKOC+mXLbS7DXQCbuzq3E6pAxraGGVGL09hgkPqo
 GjNS6NWVI2uUZcmJWCwriaEq5GLwtdTBb/EHSdaUdL8Q0AnRKiOVTvdebBCTLIV4v/w6
 mu5RU8fDT8axePKdRUZRxtT+XWFAdVqggn2m2znv6k88YWOKacjyQk212HWqy9x99/tP
 A1Go8W1VGBhS7hl1JhMm7UE60znrpUh9vRMKS2ON6gHN4exVf4x7NDmD/pKTIop1NZgj
 9IBw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:in-reply-to:references:from:date
 :message-id:subject:to:cc;
 bh=iAWaEb0PXAcMh9vG8xjIj/MUMTB0CUiTXeLuWQ0KOrg=;
 b=dL2Du56XFjwXNHDKXQdEJ1hgQ2dlS3K0+FFhSNFXkD7TJEycw+O7AbX8JkvAtgyABQ
 H4Avh0H2ZRHhUkS98oY9c5Ti2JyHFAWcI6MV+u3JWxnc/vzyJUUu3oj/BzNQjM0hh+r9
 LMNERQygjh0ngUc6Wpy++M9CWVSsudURvr+NuYYJcbxC1ZoJpl4uXuuSo1rUEqJ9Yc3F
 zEkQSYNkvUb5zQnqcXMH6dH8ZMzsgQXdzhaTsOAGjzgLl5VJIQME/d1vxw7FhMA4+R02
 njqdcdNc8gJyhQ13NPKIGzbs39mhGcdmGWFFea8FrSPCDjDu8ktCVelXZTRfj/7gFYE4
 Tg9A==
X-Gm-Message-State: ABUngverI7ZQkLqGCD7RwLr+aQICQmZXzfWHSPfMCbsyNuwFT28TxobyXAwdvQamx6x13hBY04eGBb0ur/RwGw==
X-Received: by 10.107.11.81 with SMTP id v78mr14063677ioi.20.1478896636205;
 Fri, 11 Nov 2016 12:37:16 -0800 (PST)
MIME-Version: 1.0
Received: by 10.107.172.132 with HTTP; Fri, 11 Nov 2016 12:37:15 -0800 (PST)
In-Reply-To: <281fc5e6-02e1-e6b0-0ab8-36427616db21@HIDDEN>
References: <CAF-YLqF5HJWApgcfAaHL10TZZWsxOWtV4fH9qJp0cYO9xJvykA@HIDDEN>
 <86091437-a660-b5f8-5663-c4b84fb03b25@HIDDEN>
 <281fc5e6-02e1-e6b0-0ab8-36427616db21@HIDDEN>
From: Michael Schwager <mike@HIDDEN>
Date: Fri, 11 Nov 2016 14:37:15 -0600
Message-ID: <CAF-YLqGQvjNeg7jud0Wq=xyxtBMBp9fNiWEtFD7dc1M6D4E-9A@HIDDEN>
Subject: Re: bug#24926: ls output has been made ugly
To: Eric Blake <eblake@HIDDEN>
Content-Type: multipart/alternative; boundary=001a113fb330a9283505410c7435
X-Spam-Score: -0.2 (/)
X-Debbugs-Envelope-To: 24926
X-Mailman-Approved-At: Fri, 11 Nov 2016 16:00:48 -0500
Cc: Paul Eggert <eggert@HIDDEN>, 24926 <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.2 (/)

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

On Fri, Nov 11, 2016 at 2:00 PM, Eric Blake <eblake@HIDDEN> wrote:

> ...Having two
> different quoting modes, where you can choose between the options, may
> be the way to go - but then you STILL have the problem of what to pick
> as the default of those two modes when neither one was explicitly
> requested.
>

Exactly. So if you want to call ls' old behavior "broken", which I presume
that one would do to justify creating this change, then your choices boil
down to:
- Leave decades of behavior in place, and deal with "broken" output, or
- Create new, different broken output.

It boggles my mind that someone decided we should have a new default. The
output is not better, confusingly, the output is different depending on if
you send to terminal or not, and I have not seen any great desire in the
community for this change.

-- 
-Mike Schwager

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

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On F=
ri, Nov 11, 2016 at 2:00 PM, Eric Blake <span dir=3D"ltr">&lt;<a href=3D"ma=
ilto:eblake@HIDDEN" target=3D"_blank">eblake@HIDDEN</a>&gt;</span> =
wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bord=
er-left:1px #ccc solid;padding-left:1ex">...Having two<br>
different quoting modes, where you can choose between the options, may<br>
be the way to go - but then you STILL have the problem of what to pick<br>
as the default of those two modes when neither one was explicitly requested=
.<br></blockquote></div><br></div><div class=3D"gmail_extra">Exactly. So if=
 you want to call ls&#39; old behavior &quot;broken&quot;, which I presume =
that one would do to justify creating this change, then your choices boil d=
own to:<br></div><div class=3D"gmail_extra">- Leave decades of behavior in =
place, and deal with &quot;broken&quot; output, or<br></div><div class=3D"g=
mail_extra">- Create new, different broken output.<br></div><div class=3D"g=
mail_extra"><br></div><div class=3D"gmail_extra">It boggles my mind that so=
meone decided we should have a new default. The output is not better, confu=
singly, the output is different depending on if you send to terminal or not=
, and I have not seen any great desire in the community for this change.<br=
></div><div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">-- <=
br><div class=3D"gmail_signature" data-smartmail=3D"gmail_signature">-Mike =
Schwager</div>
</div></div>

--001a113fb330a9283505410c7435--




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

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


Received: (at 24926) by debbugs.gnu.org; 11 Nov 2016 20:00:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Nov 11 15:00:31 2016
Received: from localhost ([127.0.0.1]:54288 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1c5Hzz-0000St-Au
	for submit <at> debbugs.gnu.org; Fri, 11 Nov 2016 15:00:31 -0500
Received: from mx1.redhat.com ([209.132.183.28]:56340)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eblake@HIDDEN>) id 1c5Hzx-0000Se-U1
 for 24926 <at> debbugs.gnu.org; Fri, 11 Nov 2016 15:00:30 -0500
Received: from int-mx13.intmail.prod.int.phx2.redhat.com
 (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26])
 (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 4783B16F8D4;
 Fri, 11 Nov 2016 20:00:24 +0000 (UTC)
Received: from [10.3.116.116] (ovpn-116-116.phx2.redhat.com [10.3.116.116])
 by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id
 uABK0NcX018862; Fri, 11 Nov 2016 15:00:23 -0500
Subject: Re: bug#24926: ls output has been made ugly
To: Paul Eggert <eggert@HIDDEN>, Michael Schwager <mike@HIDDEN>,
 24926 <at> debbugs.gnu.org
References: <CAF-YLqF5HJWApgcfAaHL10TZZWsxOWtV4fH9qJp0cYO9xJvykA@HIDDEN>
 <86091437-a660-b5f8-5663-c4b84fb03b25@HIDDEN>
From: Eric Blake <eblake@HIDDEN>
Openpgp: url=http://people.redhat.com/eblake/eblake.gpg
Organization: Red Hat, Inc.
Message-ID: <281fc5e6-02e1-e6b0-0ab8-36427616db21@HIDDEN>
Date: Fri, 11 Nov 2016 14:00:23 -0600
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
 Thunderbird/45.4.0
MIME-Version: 1.0
In-Reply-To: <86091437-a660-b5f8-5663-c4b84fb03b25@HIDDEN>
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="jaAVcn2GkiE7bcBX96wnM21NkcoXkeRVp"
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16
 (mx1.redhat.com [10.5.110.30]); Fri, 11 Nov 2016 20:00:24 +0000 (UTC)
X-Spam-Score: -7.9 (-------)
X-Debbugs-Envelope-To: 24926
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: -7.9 (-------)

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--jaAVcn2GkiE7bcBX96wnM21NkcoXkeRVp
Content-Type: multipart/mixed; boundary="xc3vA87XJ69QKdcRnsNIvXsV1hmewftRQ";
 protected-headers="v1"
From: Eric Blake <eblake@HIDDEN>
To: Paul Eggert <eggert@HIDDEN>, Michael Schwager <mike@HIDDEN>,
 24926 <at> debbugs.gnu.org
Message-ID: <281fc5e6-02e1-e6b0-0ab8-36427616db21@HIDDEN>
Subject: Re: bug#24926: ls output has been made ugly
References: <CAF-YLqF5HJWApgcfAaHL10TZZWsxOWtV4fH9qJp0cYO9xJvykA@HIDDEN>
 <86091437-a660-b5f8-5663-c4b84fb03b25@HIDDEN>
In-Reply-To: <86091437-a660-b5f8-5663-c4b84fb03b25@HIDDEN>

--xc3vA87XJ69QKdcRnsNIvXsV1hmewftRQ
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 11/11/2016 12:26 PM, Paul Eggert wrote:
> Michael Schwager wrote:
>> Don't you think I can see the spaces in my filenames?
>=20
> Not in general, no.  For example:
>=20
> $ ls --quoting-style=3Dliteral
> a  b  c
> $ ls
> 'a  b'  c
>=20
> That being said, perhaps 'ls' could quote less aggressively.  If 'ls'
> always arranges for at least two spaces between file names, for example=
,
> 'ls' doesn't need to quote a name merely because it contains a space
> surrounded by non-whitespace characters.  Come to think of it, 'ls -l'
> need not quote file names containing spaces at all.

If the idea is that the quoting is there to make copy-and-pasting into a
shell command line easier, then there is nothing we can do that is less
aggressive, since failing to quote spaces changes what the shell will
do.  If the idea is that the quoting should only be added to avoid
ambiguous situations, then maybe you are right that we can add further
heuristics to the quoting algorithm to disable quotes on output that is
unambiguous, even if it can't be pasted back into the shell.  Having two
different quoting modes, where you can choose between the options, may
be the way to go - but then you STILL have the problem of what to pick
as the default of those two modes when neither one was explicitly request=
ed.

--=20
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


--xc3vA87XJ69QKdcRnsNIvXsV1hmewftRQ--

--jaAVcn2GkiE7bcBX96wnM21NkcoXkeRVp
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/

iQEcBAEBCAAGBQJYJiNXAAoJEKeha0olJ0Nqd/gH/0h3ifnjVhwjO+Q9d0uA4WXQ
DmWf47vs+++/xeuJONBWAxESuMXzy5QfbUBaHka1aAIJ4w2VCWNdfKH06zwjXq//
4MTYfBk0iaxmQybZ6fYz3YyWYSRpaPM7P2YNimNlJ8gQq17SvoPlokR90hSwas8f
n/hnUEdPLmlHj6M20j0Oz5Y54GFjhd6YFnSX82eKsWrim+kqZCL0f7N68rnOHgU3
N3Ngn9cgSaM5e3cjGO3gN8TsngGq+U7NN7HNv8A4e8D5f9BR+sutiH0Zkk5gpluU
Y+9UpR9hZsxovYP378vP0MgZhpDJ73zmADycjH4YTZM4VFexd7sgBnqngwwV6MA=
=4ShQ
-----END PGP SIGNATURE-----

--jaAVcn2GkiE7bcBX96wnM21NkcoXkeRVp--




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

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


Received: (at 24926) by debbugs.gnu.org; 11 Nov 2016 19:50:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Nov 11 14:50:22 2016
Received: from localhost ([127.0.0.1]:54284 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1c5Hq9-0000DT-QH
	for submit <at> debbugs.gnu.org; Fri, 11 Nov 2016 14:50:22 -0500
Received: from mx1.redhat.com ([209.132.183.28]:49970)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eblake@HIDDEN>) id 1c5Hq7-0000DE-5R
 for 24926 <at> debbugs.gnu.org; Fri, 11 Nov 2016 14:50:19 -0500
Received: from int-mx13.intmail.prod.int.phx2.redhat.com
 (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26])
 (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 84BFA31B308;
 Fri, 11 Nov 2016 19:50:13 +0000 (UTC)
Received: from [10.3.116.116] (ovpn-116-116.phx2.redhat.com [10.3.116.116])
 by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id
 uABJoCFr007808; Fri, 11 Nov 2016 14:50:13 -0500
Subject: Re: bug#24926: ls output has been made ugly
To: "L. A. Walsh" <coreutils@HIDDEN>, Michael Schwager <mike@HIDDEN>,
 Paul Eggert <eggert@HIDDEN>
References: <CAF-YLqF5HJWApgcfAaHL10TZZWsxOWtV4fH9qJp0cYO9xJvykA@HIDDEN>
 <58261EB4.2020301@HIDDEN>
From: Eric Blake <eblake@HIDDEN>
Openpgp: url=http://people.redhat.com/eblake/eblake.gpg
Organization: Red Hat, Inc.
Message-ID: <e1fbff19-f2e1-4ff3-34ce-be6fff38262e@HIDDEN>
Date: Fri, 11 Nov 2016 13:50:12 -0600
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
 Thunderbird/45.4.0
MIME-Version: 1.0
In-Reply-To: <58261EB4.2020301@HIDDEN>
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="1VsNiOmNiRfNnGPBN6covq7OWD579EgBg"
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16
 (mx1.redhat.com [10.5.110.29]); Fri, 11 Nov 2016 19:50:13 +0000 (UTC)
X-Spam-Score: -7.9 (-------)
X-Debbugs-Envelope-To: 24926
Cc: 24926 <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: -7.9 (-------)

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--1VsNiOmNiRfNnGPBN6covq7OWD579EgBg
Content-Type: multipart/mixed; boundary="u6h2m8N99JAB516Hbfr9XXudq4dAaNadD";
 protected-headers="v1"
From: Eric Blake <eblake@HIDDEN>
To: "L. A. Walsh" <coreutils@HIDDEN>, Michael Schwager
 <mike@HIDDEN>, Paul Eggert <eggert@HIDDEN>
Cc: 24926 <at> debbugs.gnu.org
Message-ID: <e1fbff19-f2e1-4ff3-34ce-be6fff38262e@HIDDEN>
Subject: Re: bug#24926: ls output has been made ugly
References: <CAF-YLqF5HJWApgcfAaHL10TZZWsxOWtV4fH9qJp0cYO9xJvykA@HIDDEN>
 <58261EB4.2020301@HIDDEN>
In-Reply-To: <58261EB4.2020301@HIDDEN>

--u6h2m8N99JAB516Hbfr9XXudq4dAaNadD
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 11/11/2016 01:40 PM, L. A. Walsh wrote:

>> $ ls --quoting-style=3Dliteral
>> a  b  c
> ----
>    You must have a strange version of something -- that's not
> what I see:
>=20
>>  touch 'a b' c

That's your problem.  Paul did:

$ touch 'a  b' c

with two spaces, not one.

> Where (or under what conditions)
> do you see the "a, b and c" being
> spaced apart equally?

When you intentionally create the spacing between a and b to match the
spacing between a*b and c.

--=20
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


--u6h2m8N99JAB516Hbfr9XXudq4dAaNadD--

--1VsNiOmNiRfNnGPBN6covq7OWD579EgBg
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/

iQEcBAEBCAAGBQJYJiD0AAoJEKeha0olJ0Nqh98IAKYFOL/MmVXYgH8yW/z9WP18
aidt8YcPaDGMTsKl1aYvJh1rsdqBtnOYwv6NO/9I8rshBbXtvPRvuL8tvQpBfNTy
A/kq6/WfjQYlmCEWFJ7WzyxJ/5WPDlHgMcgJe2CuY67fOJvZuq/Pm9racmCTQn2T
sXh+PrBWESghk4vNyZHZCeVl7TADJ7KEyJWAgu3G7E7XZT8DEWhIh84lT9EPOEpv
y+lnjA/XOSL8k+IJ6UQXfMTawLkhQE2OihuKgbXbSQQFae9TPEQF0up0mTABWnop
nLWGP1/uJMN56h5jXSfLg1ACw94nxkTFhQU+vvFURPXshq8QuVxVmj06Drp52Vk=
=mTtZ
-----END PGP SIGNATURE-----

--1VsNiOmNiRfNnGPBN6covq7OWD579EgBg--




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

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


Received: (at submit) by debbugs.gnu.org; 11 Nov 2016 19:41:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Nov 11 14:41:29 2016
Received: from localhost ([127.0.0.1]:54278 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1c5HhY-0008Rj-Th
	for submit <at> debbugs.gnu.org; Fri, 11 Nov 2016 14:41:29 -0500
Received: from eggs.gnu.org ([208.118.235.92]:60001)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <coreutils@HIDDEN>) id 1c5HhX-0008RV-8Y
 for submit <at> debbugs.gnu.org; Fri, 11 Nov 2016 14:41:27 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <coreutils@HIDDEN>) id 1c5HhR-0006ys-H0
 for submit <at> debbugs.gnu.org; Fri, 11 Nov 2016 14:41:22 -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.8 required=5.0 tests=BAYES_50 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:58626)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <coreutils@HIDDEN>) id 1c5HhR-0006yn-DY
 for submit <at> debbugs.gnu.org; Fri, 11 Nov 2016 14:41:21 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:50959)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <coreutils@HIDDEN>) id 1c5HhQ-00051E-Fl
 for bug-coreutils@HIDDEN; Fri, 11 Nov 2016 14:41:21 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <coreutils@HIDDEN>) id 1c5HhN-0006uY-Az
 for bug-coreutils@HIDDEN; Fri, 11 Nov 2016 14:41:20 -0500
Received: from ishtar.tlinx.org ([173.164.175.65]:55800
 helo=Ishtar.sc.tlinx.org)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <coreutils@HIDDEN>) id 1c5HhN-0006n3-04
 for bug-coreutils@HIDDEN; Fri, 11 Nov 2016 14:41:17 -0500
Received: from [192.168.3.12] (Athenae [192.168.3.12])
 by Ishtar.sc.tlinx.org (8.14.7/8.14.4/SuSE Linux 0.8) with ESMTP id
 uABJeVjB087904; Fri, 11 Nov 2016 11:40:33 -0800
Message-ID: <58261EB4.2020301@HIDDEN>
Date: Fri, 11 Nov 2016 11:40:36 -0800
From: "L. A. Walsh" <coreutils@HIDDEN>
User-Agent: Thunderbird
MIME-Version: 1.0
To: Michael Schwager <mike@HIDDEN>, Paul Eggert <eggert@HIDDEN>
Subject: Re: bug#24926: ls output has been made ugly
References: <CAF-YLqF5HJWApgcfAaHL10TZZWsxOWtV4fH9qJp0cYO9xJvykA@HIDDEN>
In-Reply-To: <CAF-YLqF5HJWApgcfAaHL10TZZWsxOWtV4fH9qJp0cYO9xJvykA@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no
 timestamps) [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: -5.0 (-----)
X-Debbugs-Envelope-To: submit
Cc: bug-coreutils@HIDDEN, 24926 <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: -5.0 (-----)

Michael Schwager wrote:
>  I
> don't have single quotes in many of my filenames, although I do in some.
>   
---
    How did this get displayed?  In shell,
'foo \' bar' wouldn't be displayed correctly since you can't
use backslash to escape inside a single quoted string.


> That is just plain ugly. 
----
    Yeah, though I might use the term "noisy" as a primary
adjective.  :-)


Paul Eggert wrote:
> Michael Schwager wrote:
>> Don't you think I can see the spaces in my filenames?
> Not in general, no.  For example:
>
> $ ls --quoting-style=literal
> a  b  c
----
    You must have a strange version of something -- that's not
what I see:

>  touch 'a b' c
>  Ishtar:/tmp/tmp> ls
a b  c
Ishtar:/tmp/tmp> ls --quoting-style=literal
a b  c
Ishtar:/tmp/tmp> ls --quoting-style=shell
'a b'  c

Where (or under what conditions)
do you see the "a, b and c" being
spaced apart equally?











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

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


Received: (at 24926) by debbugs.gnu.org; 11 Nov 2016 19:40:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Nov 11 14:40:52 2016
Received: from localhost ([127.0.0.1]:54274 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1c5Hgy-0008QJ-N0
	for submit <at> debbugs.gnu.org; Fri, 11 Nov 2016 14:40:52 -0500
Received: from ishtar.tlinx.org ([173.164.175.65]:48600
 helo=Ishtar.sc.tlinx.org) by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <coreutils@HIDDEN>) id 1c5Hgx-0008QB-11
 for 24926 <at> debbugs.gnu.org; Fri, 11 Nov 2016 14:40:51 -0500
Received: from [192.168.3.12] (Athenae [192.168.3.12])
 by Ishtar.sc.tlinx.org (8.14.7/8.14.4/SuSE Linux 0.8) with ESMTP id
 uABJeVjB087904; Fri, 11 Nov 2016 11:40:33 -0800
Message-ID: <58261EB4.2020301@HIDDEN>
Date: Fri, 11 Nov 2016 11:40:36 -0800
From: "L. A. Walsh" <coreutils@HIDDEN>
User-Agent: Thunderbird
MIME-Version: 1.0
To: Michael Schwager <mike@HIDDEN>, Paul Eggert <eggert@HIDDEN>
Subject: Re: bug#24926: ls output has been made ugly
References: <CAF-YLqF5HJWApgcfAaHL10TZZWsxOWtV4fH9qJp0cYO9xJvykA@HIDDEN>
In-Reply-To: <CAF-YLqF5HJWApgcfAaHL10TZZWsxOWtV4fH9qJp0cYO9xJvykA@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: -2.9 (--)
X-Debbugs-Envelope-To: 24926
Cc: bug-coreutils@HIDDEN, 24926 <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: -2.9 (--)

Michael Schwager wrote:
>  I
> don't have single quotes in many of my filenames, although I do in some.
>   
---
    How did this get displayed?  In shell,
'foo \' bar' wouldn't be displayed correctly since you can't
use backslash to escape inside a single quoted string.


> That is just plain ugly. 
----
    Yeah, though I might use the term "noisy" as a primary
adjective.  :-)


Paul Eggert wrote:
> Michael Schwager wrote:
>> Don't you think I can see the spaces in my filenames?
> Not in general, no.  For example:
>
> $ ls --quoting-style=literal
> a  b  c
----
    You must have a strange version of something -- that's not
what I see:

>  touch 'a b' c
>  Ishtar:/tmp/tmp> ls
a b  c
Ishtar:/tmp/tmp> ls --quoting-style=literal
a b  c
Ishtar:/tmp/tmp> ls --quoting-style=shell
'a b'  c

Where (or under what conditions)
do you see the "a, b and c" being
spaced apart equally?











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

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


Received: (at 24926) by debbugs.gnu.org; 11 Nov 2016 18:26:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Nov 11 13:26:23 2016
Received: from localhost ([127.0.0.1]:54201 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1c5GWt-0003Fu-0D
	for submit <at> debbugs.gnu.org; Fri, 11 Nov 2016 13:26:23 -0500
Received: from zimbra.cs.ucla.edu ([131.179.128.68]:60472)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eggert@HIDDEN>) id 1c5GWr-0003Fe-Qt
 for 24926 <at> debbugs.gnu.org; Fri, 11 Nov 2016 13:26:22 -0500
Received: from localhost (localhost [127.0.0.1])
 by zimbra.cs.ucla.edu (Postfix) with ESMTP id 0E397160079;
 Fri, 11 Nov 2016 10:26:16 -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 53vZkmTbytRH; Fri, 11 Nov 2016 10:26:15 -0800 (PST)
Received: from localhost (localhost [127.0.0.1])
 by zimbra.cs.ucla.edu (Postfix) with ESMTP id 626F616007A;
 Fri, 11 Nov 2016 10:26:15 -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 AQ5UkLqQnKzd; Fri, 11 Nov 2016 10:26:15 -0800 (PST)
Received: from [192.168.1.9] (unknown [47.153.178.162])
 by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 42DD9160079;
 Fri, 11 Nov 2016 10:26:15 -0800 (PST)
Subject: Re: bug#24926: ls output has been made ugly
To: Michael Schwager <mike@HIDDEN>, 24926 <at> debbugs.gnu.org
References: <CAF-YLqF5HJWApgcfAaHL10TZZWsxOWtV4fH9qJp0cYO9xJvykA@HIDDEN>
From: Paul Eggert <eggert@HIDDEN>
Organization: UCLA Computer Science Department
Message-ID: <86091437-a660-b5f8-5663-c4b84fb03b25@HIDDEN>
Date: Fri, 11 Nov 2016 10:26:15 -0800
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
 Thunderbird/45.4.0
MIME-Version: 1.0
In-Reply-To: <CAF-YLqF5HJWApgcfAaHL10TZZWsxOWtV4fH9qJp0cYO9xJvykA@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.9 (--)
X-Debbugs-Envelope-To: 24926
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.9 (--)

Michael Schwager wrote:
> Don't you think I can see the spaces in my filenames?

Not in general, no.  For example:

$ ls --quoting-style=3Dliteral
a  b  c
$ ls
'a  b'  c

That being said, perhaps 'ls' could quote less aggressively.  If 'ls' alw=
ays=20
arranges for at least two spaces between file names, for example, 'ls' do=
esn't=20
need to quote a name merely because it contains a space surrounded by=20
non-whitespace characters.  Come to think of it, 'ls -l' need not quote f=
ile=20
names containing spaces at all.




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

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


Received: (at submit) by debbugs.gnu.org; 11 Nov 2016 16:35:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Nov 11 11:35:56 2016
Received: from localhost ([127.0.0.1]:54120 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1c5Enz-0000bW-Va
	for submit <at> debbugs.gnu.org; Fri, 11 Nov 2016 11:35:56 -0500
Received: from eggs.gnu.org ([208.118.235.92]:53272)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mike@HIDDEN>) id 1c5E6e-0007x4-CN
 for submit <at> debbugs.gnu.org; Fri, 11 Nov 2016 10:51:08 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <mike@HIDDEN>) id 1c5E6X-0002NL-Pm
 for submit <at> debbugs.gnu.org; Fri, 11 Nov 2016 10:51:03 -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.8 required=5.0 tests=BAYES_50,HTML_MESSAGE,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:52139)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <mike@HIDDEN>) id 1c5E6X-0002NA-Fd
 for submit <at> debbugs.gnu.org; Fri, 11 Nov 2016 10:51:01 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:44221)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <mike@HIDDEN>) id 1c5E6V-0003QU-QX
 for bug-coreutils@HIDDEN; Fri, 11 Nov 2016 10:51:01 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <mike@HIDDEN>) id 1c5E6U-0002Le-21
 for bug-coreutils@HIDDEN; Fri, 11 Nov 2016 10:50:59 -0500
Received: from mail-it0-x231.google.com ([2607:f8b0:4001:c0b::231]:38528)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <mike@HIDDEN>) id 1c5E6T-0002KJ-IT
 for bug-coreutils@HIDDEN; Fri, 11 Nov 2016 10:50:57 -0500
Received: by mail-it0-x231.google.com with SMTP id q124so129521543itd.1
 for <bug-coreutils@HIDDEN>; Fri, 11 Nov 2016 07:50:56 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=schwager-com.20150623.gappssmtp.com; s=20150623;
 h=mime-version:from:date:message-id:subject:to;
 bh=ST7AOHjGgcqlF2aU/NBeF0U8N8hEsJv4Q1y9FSbI2RY=;
 b=c4s8PEH7BzLGD4EPV6Igwrmh+25GmOGcGuiouFhZDwW/ILKtBmAIXK9LPTdFxPrQij
 rvsqQEUxks1uABvL6bN1De+MkUU5Je9rDZ1lvmjtjxc2Uyu0WF0DCvboM644xAxh6K5x
 Nm4T3iTQeg/sv2ITYK/TncwRQ3UvgzckeiJCEPAnq/aBsMzU8EAQtzqIwysI6gbrEIFE
 9Zv/3YielLEaeam5ZIY9ZQ03P4COFYBPzJ7AbV2g6S1ZC9Z8Xj36Tw6JJR2gjT5Ua8Qw
 Lj2stk/7B5goPmW1WR69rn6RqfrA4tyqvhfZA7w/4+PpHxGaNugVm0tLfIhQ+5F9b8LW
 qDUw==
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=ST7AOHjGgcqlF2aU/NBeF0U8N8hEsJv4Q1y9FSbI2RY=;
 b=aoaSsJCf9AJDYthPyvvF1JesMiVekAm0ZTajsxYoK6mWA1hw0IIw3s12Vk9aWqjhj8
 CHToOPZifthBKOusn6lKcVs/ye1e1IltJGeZF76Nzk0qklvmuvNN5nvWUS+mcWq3qc5F
 TREDnYV2nYCmVkeNb58BmLfSPQlmJZFJo8V6jxgc64qP+LT1KXeeDNg3DUzI46rKXAMF
 8qaP2FB+F6sc2oIYIOSe2jHwztEqu0B7LBIlmRvJg8c3pWbYPnLosSQE3qVxCBfnqb0q
 XEvtO1Q3PQPJnbFmSCfXaLO+V938khGCSWM2YQPDLfMqwipR1xOUEYLPfXid/nwiV9bl
 ZqbQ==
X-Gm-Message-State: ABUngvf/ZIy+oYGGQu5+tTxB+6JYx78AbT0uRd2XQJNIMS7PONZK5Hz1hcQj4IIU169V9CD8Q94lWM3QE2BIjA==
X-Received: by 10.107.11.81 with SMTP id v78mr12674674ioi.20.1478879454946;
 Fri, 11 Nov 2016 07:50:54 -0800 (PST)
MIME-Version: 1.0
Received: by 10.107.172.132 with HTTP; Fri, 11 Nov 2016 07:50:54 -0800 (PST)
From: Michael Schwager <mike@HIDDEN>
Date: Fri, 11 Nov 2016 09:50:54 -0600
Message-ID: <CAF-YLqF5HJWApgcfAaHL10TZZWsxOWtV4fH9qJp0cYO9xJvykA@HIDDEN>
Subject: ls output has been made ugly
To: bug-coreutils@HIDDEN
Content-Type: multipart/alternative; boundary=001a113fb33094403c054108745e
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: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Fri, 11 Nov 2016 11:35:55 -0500
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: -5.0 (-----)

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

"...we don't mean to dictate, only to improve things" -P=C3=A1draig Brady
<http://unix.stackexchange.com/users/37127/p%c3%a1draig-brady> Feb 15 at
20:46
<http://unix.stackexchange.com/questions/258679/why-is-ls-suddenly-wrapping=
-items-with-spaces-in-single-quotes#comment455651_262162>

Somebody went and dictated ls' new behavior, and now my files with spaces
look really really ugly.

I just upgraded to Fedora 24 which has the new ls. I rsync'ed my music from
my old hard drive to my new one and noticed spurious characters. I was
looking around, trying to find out what I did wrong/what it meant/etc. I
don't have single quotes in many of my filenames, although I do in some.

Look at this directory listing:
AWOLNation                  'Joe Jackson'
'Cage the Elephant'         'Joy Division'
'Calabria 2008'             'Joy Division-All Gods Angels Beware.m3u'
'Carly Rae Jepsen'          'Joy Division-Joy Division  The Peel Sessions
10 Dec 79.m3u'
'Cat Power'                 'Joy Division-The Peel Sessions Unreleased
Tracks.m3u'
'Culture Club'              'Katy Perry'
'Cyndi Lauper'              'Laura Branigan'
'Daft Punk'                 Offspring

That is just plain ugly. Don't you think I can see the spaces in my
filenames? What do those quotes do but add cruft? Who thinks they know
better than I do? How was this decision made? (that's a rhetorical
question, I don't want an answer because I've read the arguments and I
think it's a really bad idea.) Who ever thinks that what you get is not
what is actually there is ever a good idea???

Yes, you can opt out. This is akin to what email spammers have been teling
us for years about tracking us and sticking ads in our inboxes. That "Hey,
no problem- you can always opt out..." Even if you can (and there are some
legitimate sites out there that will opt you out), the point is that you
should not stick your choices into people's faces. Offer up the
alternative... don't create an alternative, then say "Now you get it
because I say so. Don't like it? You can always change it back..." That's
insulting.

--=20
-Mike Schwager

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

<div dir=3D"ltr"><div><div><div><div><span class=3D"gmail-comment-copy">&qu=
ot;...we don&#39;t mean to dictate, only to improve things&quot; -</span><s=
pan class=3D"gmail-comment-copy"><a class=3D"gmail-comment-user" title=3D"1=
,019 reputation" href=3D"http://unix.stackexchange.com/users/37127/p%c3%a1d=
raig-brady">P=C3=A1draig Brady</a>
                <span dir=3D"ltr" class=3D"gmail-comment-date"><a href=3D"h=
ttp://unix.stackexchange.com/questions/258679/why-is-ls-suddenly-wrapping-i=
tems-with-spaces-in-single-quotes#comment455651_262162" class=3D"gmail-comm=
ent-link"><span class=3D"gmail-relativetime-clean" title=3D"2016-02-15 20:4=
6:01Z">Feb 15 at 20:46</span></a></span><br></span></div><span class=3D"gma=
il-comment-copy"><br>Somebody went and dictated ls&#39; new behavior, and n=
ow my files with spaces look really really ugly.<br><br></span></div><span =
class=3D"gmail-comment-copy">I just upgraded to Fedora 24 which has the new=
 ls. I rsync&#39;ed my music from my old hard drive to my new one and notic=
ed spurious characters. I was looking around, trying to find out what I did=
 wrong/what it meant/etc. I don&#39;t have single quotes in many of my file=
names, although I do in some.<br><br></span></div><span class=3D"gmail-comm=
ent-copy">Look at this directory listing:<br><span style=3D"font-family:mon=
ospace,monospace">AWOLNation=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &#39;Joe Jackson&=
#39;<br>&#39;Cage the Elephant&#39;=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0 &#39;Joy Division&#39;<br>&#39;Calabria 2008&#39;=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &#39;Joy Division=
-All Gods Angels Beware.m3u&#39;<br>&#39;Carly Rae Jepsen&#39;=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &#39;Joy Division-Joy Division=
=C2=A0 The Peel Sessions 10 Dec 79.m3u&#39;<br>&#39;Cat Power&#39;=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0 &#39;Joy Division-The Peel Sessions Unreleased Tracks.m3u&#39;=
<br>&#39;Culture Club&#39;=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &#39;Katy Perry&#39;<br>&#39;Cyndi Lauper&#3=
9;=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0 &#39;Laura Branigan&#39;<br>&#39;Daft Punk&#39;=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
 Offspring</span><br><br></span></div><div><span class=3D"gmail-comment-cop=
y">That is just plain ugly. Don&#39;t you think I can see the spaces in my =
filenames? What do those quotes do but add cruft? Who thinks they know bett=
er than I do? How was this decision made? (that&#39;s a rhetorical question=
, I don&#39;t want an answer because I&#39;ve read the arguments and I thin=
k it&#39;s a really bad idea.) Who ever thinks that what you get is not wha=
t is actually there is ever a good idea???<br><br></span></div><div><span c=
lass=3D"gmail-comment-copy">Yes, you can opt out. This is akin to what</spa=
n><span class=3D"gmail-comment-copy"> email spammers have been teling us fo=
r years about tracking us and sticking ads in our inboxes. That &quot;Hey, =
no problem- you can always opt out...&quot; Even if you can (and there are =
some legitimate sites out there that will opt you out), the point is that y=
ou should not stick your choices into people&#39;s faces. Offer up the alte=
rnative... don&#39;t create an alternative, then say &quot;Now you get it b=
ecause I say so. Don&#39;t like it? You can always change it back...&quot; =
That&#39;s insulting.</span><br clear=3D"all"><span class=3D"gmail-comment-=
copy"></span></div><div><div><div><div><div><br>-- <br><div class=3D"gmail_=
signature">-Mike Schwager<br><br></div>
</div></div></div></div></div></div>

--001a113fb33094403c054108745e--




Acknowledgement sent to Michael Schwager <mike@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-coreutils@HIDDEN. Full text available.
Report forwarded to bug-coreutils@HIDDEN:
bug#24926; 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 07:30:02 UTC

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