[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#24926: ls output has been made ugly
From: |
Eric Blake |
Subject: |
bug#24926: ls output has been made ugly |
Date: |
Fri, 11 Nov 2016 15:23:32 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 |
On 11/11/2016 03:08 PM, L. A. Walsh wrote:
>
>
> Eric Blake wrote:
>>>> touch 'a b' c
>>
>> That's your problem. Paul did:
>>
>> $ touch 'a b' c
> ----
> He didn't list his creation command. How
> would you know?
Because that's what worked for me to reproduce his commands.
>
>
>> with two spaces, not one.
> ---
> You are assuming that. But if he didn't list how
> he created them...
He didn't have to. His point was merely that with the old ls, you can
have inherently ambiguous situations. Think of it as an exercise for
the reader to figure out ways to get into those ambiguous situations.
Knowing the pitfalls makes it easier to justify why an output that is
unambiguous was chosen as the new default over the previous ambiguous
output; any further changes to the default are now a matter of
fine-tuning about how much (or how little) decoration we can get away
with, while still avoiding a regression to the situation of ambiguous
output.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
bug#24926: ls output has been made ugly, Michael Schwager, 2016/11/11
Message not available
bug#24926: ls output has been made ugly, L. A. Walsh, 2016/11/11