[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#33113: incorrect and inconsistent quoting in ls output
From: |
Pádraig Brady |
Subject: |
bug#33113: incorrect and inconsistent quoting in ls output |
Date: |
Sat, 27 Oct 2018 07:28:26 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
On 23/10/18 17:54, Paul Eggert wrote:
> On 10/22/18 1:44 AM, Vincent Lefevre wrote:
>> On the behavior, there's still the issue concerning = and &.
>
> Yes, you're right, there's no need to quote = with -b.
The reason \= is quoted with -bF is to distinguish socket
names that end in =. An edge case indeed, though the issue
is not particular to '=', but all of the classifier chars.
Now we could quote with -F only if these chars are at the end,
though I'm not sure that complexity is warranted.
cheers,
Pádraig