Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Apr 2017 12:48:32 +0300
From:      Andrey Chernov <ache@freebsd.org>
To:        Toomas Soome <tsoome@me.com>
Cc:        =?UTF-8?Q?Nilton_Jos=c3=a9_Rizzo?= <rizzo@i805.com.br>, Allan Jude <allanjude@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org>, owner-freebsd-current@freebsd.org
Subject:   Re: problem with ls, not show a correct list
Message-ID:  <54cb3921-659e-b9ac-4d66-9f3b8452d413@freebsd.org>
In-Reply-To: <A332BA67-E71E-4CDF-AB98-241A802F8EFA@me.com>
References:  <fe2da09242ff63acb0c62dd0519cfa1f@i805.com.br> <25969d2c-6857-77a4-86a4-08b22f15cbfe@freebsd.org> <c0b1548a69d63a72ea73a299e55a0be9@i805.com.br> <7a08478e-ee7c-70f6-1b52-bb966f47c594@freebsd.org> <A332BA67-E71E-4CDF-AB98-241A802F8EFA@me.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 07.04.2017 11:51, Toomas Soome wrote:
> 
>> On 7. apr 2017, at 11:29, Andrey Chernov <ache@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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54cb3921-659e-b9ac-4d66-9f3b8452d413>