coreutils
[Top][All Lists]
Advanced

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

Re: RFC: ls default escaping


From: Jim Meyering
Subject: Re: RFC: ls default escaping
Date: Tue, 3 Nov 2015 06:57:03 -0800

On Tue, Nov 3, 2015 at 5:53 AM, Pádraig Brady <address@hidden> wrote:
> I noticed in the info docs that ls may change to "shell" quoting by default.
>
>   "You can specify the default value of the ‘--quoting-style’ option
>    with the environment variable ‘QUOTING_STYLE’.  If that environment
>    variable is not set, the default value is ‘literal’, but this
>    default may change to ‘shell’ in a future version of this package."
>
> Given the new support for "shell-escape" quoting which provides
> both a concise and unambiguous output, should we now consider
> enabling that by default?
>
> $ touch '1 2' 3 $'4\r'
> $ ls-old
> 1 2  3  4?
> $ ls-new
> '1 2'  3  '4'$'\r'

Yes, please.
Those question marks struck me as anachronistic 10 years ago.



reply via email to

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