GNU bug report logs -
#26991
ls-quotes: new quoting takes up unnecessary space
Previous Next
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
[Message part 1 (text/plain, inline)]
Your bug report
#26991: ls-quotes: new quoting takes up unnecessary space
which was filed against the coreutils package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 26991 <at> debbugs.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)]
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
[Message part 3 (message/rfc822, inline)]
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
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.