[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RFC: ls default escaping
From: |
Pádraig Brady |
Subject: |
RFC: ls default escaping |
Date: |
Tue, 3 Nov 2015 13:53:48 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
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'
cheers,
Pádraig.
- RFC: ls default escaping,
Pádraig Brady <=