GNU bug report logs - #26991
ls-quotes: new quoting takes up unnecessary space

Previous Next

Package: coreutils;

Reported by: L A Walsh <coreutils <at> tlinx.org>

Date: Fri, 19 May 2017 06:49:02 UTC

Severity: normal

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Assaf Gordon <assafgordon <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#26991: closed (ls-quotes: new quoting takes up unnecessary space)
Date: Thu, 13 Dec 2018 20:36:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 13 Dec 2018 13:34:52 -0700
with message-id <1c3ddff7-7b3a-12b8-1cb1-710b15ec9e9e <at> gmail.com>
and subject line Re: bug#26991: New quoting takes up unnecessary space
has caused the debbugs.gnu.org bug report #26991,
regarding ls-quotes: new quoting takes up unnecessary space
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
26991: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=26991
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: L A Walsh <coreutils <at> tlinx.org>
To: bug-coreutils <at> gnu.org
Subject: New quoting takes up unnecessary space
Date: Thu, 18 May 2017 23:48:01 -0700

The new format uses extra spacing on columns where it isn't needed --
but the extra space isn't enough to handle the 1 file that was quoted
(needs 5 extra columns).  Where does it get '3' (and why doesn't it use
2?)?

Here are 32 files:
>  ls
aaaaaaa   bbbbbbb   ccccccc   ddddddd   eeeeeee   fffffff   ggggggg   
hhhhhhh
aaaaaaa0  bbbbbbb0  ccccccc0  ddddddd0  eeeeeee0  fffffff0  ggggggg0  
hhhhhhh0
aaaaaaa1  bbbbbbb1  ccccccc1  ddddddd1  eeeeeee1  fffffff1  ggggggg1  
hhhhhhh1
aaaaaaa2  bbbbbbb2  ccccccc2  ddddddd2  eeeeeee2  fffffff2  ggggggg2  
hhhhhhh2
#       ^^ -- 2 chars separate

>  mv aaaaaaa \"aaaa\'\"    #same number of characters
>  ls  
'"aaaa'\''"'   bbbbbbb0   ccccccc1   ddddddd2   fffffff    ggggggg0   
hhhhhhh1
aaaaaaa0      bbbbbbb1   ccccccc2   eeeeeee    fffffff0   ggggggg1   
hhhhhhh2
aaaaaaa1      bbbbbbb2   ddddddd    eeeeeee0   fffffff1   ggggggg2
aaaaaaa2      ccccccc    ddddddd0   eeeeeee1   fffffff2   hhhhhhh
bbbbbbb       ccccccc0   ddddddd1   eeeeeee2   ggggggg    hhhhhhh0
                      ^^^ - now using minimum of 3 spaces between columns








[Message part 3 (message/rfc822, inline)]
From: Assaf Gordon <assafgordon <at> gmail.com>
To: L A Walsh <coreutils <at> tlinx.org>
Cc: 26991-done <at> debbugs.gnu.org
Subject: Re: bug#26991: New quoting takes up unnecessary space
Date: Thu, 13 Dec 2018 13:34:52 -0700
Hello,

On 2017-05-19 6:37 p.m., L A Walsh wrote:
> 
> 
> Pádraig Brady wrote:
>> On 19/05/17 07:48, L A Walsh wrote:
>>>
>>> The new format uses extra spacing on columns where it isn't needed --
>>> but the extra space isn't enough to handle the 1 file that was quoted
>>> (needs 5 extra columns).  Where does it get '3' (and why doesn't it use
>>> 2?)?
>>


We created a summary of common issues and FAQs
regarding the quoting change in ls(1):
  https://www.gnu.org/software/coreutils/quotes.html

If there is an issue that is not addressed there,
please send an email to coreutils <at> gnu.org .

regards,
 - assaf


This bug report was last modified 6 years and 162 days ago.

Previous Next


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