Re: problem with ls, not show a correct list

From: Andrey Chernov <ache_at_freebsd.org>
Date: Fri, 7 Apr 2017 12:48:32 +0300
On 07.04.2017 11:51, Toomas Soome wrote:
> 
>> On 7. apr 2017, at 11:29, Andrey Chernov <ache_at_freebsd.org> wrote:
>>
>>>  Hi Allan, the ls show all files without case match
>>>
>>> ls [a-z]*
>>>
>>> show all files beginning with a and A  like this [aA-zZ]*
>>
>> No, last "Z" is not included.
>>
> 
> This is to define set of chars: { a, A-z, Z } ? A-z of course does not make any sense;) Of course note that in few locales z is sorted after s, meaning that list like that can be rather short;)

No, [A-z] makes perfect sense with CLDR collation we have, but maybe
unexpected effect.
Historically all latin letters have single case, so new times
upper/lower considered by CLDR as minor modification to the letter which
considered first. It is also the sorting used in dictionaries.
Received on Fri Apr 07 2017 - 07:48:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:11 UTC