coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ls output changes considered unacceptable


From: Pádraig Brady
Subject: Re: ls output changes considered unacceptable
Date: Tue, 15 Nov 2016 19:18:48 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

On 18/02/16 09:17, Pádraig Brady wrote:
> On 17/02/16 17:46, Michael Stone wrote:
>> [new quoting style is] ambiguous. It isn't possible to tell from the output
>> whether you're  looking at a really weird filename or something that's been 
>> escaped.
>> Recall the earlier point about the inability to configure a heterogenous 
>> environment consistently, and the lack of visual indication of the 
>> current QUOTING_STYLE.
> 
> I agree with this.
> An improvement suggested by someone else, would improve both the ambiguity
> and the small alignment issue, by adding an extra space to ls -l output
> if any names are quoted. That would also give a better indication that
> ls was adding the quotes. I.E.:
> 
> -rw-rw-r--.   1 padraig padraig    580 Dec 14 04:01  blah_blah
> -rw-rw-r--.   1 padraig padraig    580 Dec 14 04:01 'blah blah'

Attached is a patch to implement the above alignment tweaks.

cheers,
Pádraig

Attachment: ls-quote-align.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]