coreutils
[Top][All Lists]
Advanced

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

Re: broken ls in coreutils 8.25


From: Pádraig Brady
Subject: Re: broken ls in coreutils 8.25
Date: Mon, 1 Feb 2016 08:07:39 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 31/01/16 06:48, Harald Dunkel wrote:
> Hi folks,
> 
> how comes that suddenly I have to define an environment variable
> 
>       QUOTING_STYLE=literal
> 
> for something that worked very well since the 70s? I appreciate
> your continuous effort to improve coreutils, but this change is a
> bad move.

The reasons we changed the default was:

 - It only happens when outputting to terminals
 - It disambiguates the output for users
 - Output can be pasted back in the shell for further processing
 - Users can get back to the old format by adding -N to their ls alias

I see some disadvantages as:

 - Slightly misaligns -l output when some files have spaces
 - Produces longer output for file names with single quotes

So that's 2 functional advantages over 2 aesthetic disadvantages.
Given the advantages especially for new users and the complications of
producing shell quoted file names oneself, we chose the new default.

thanks,
Pádraig



reply via email to

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