On 07.04.2017 11:51, Toomas Soome wrote: > >> On 7. apr 2017, at 11:29, Andrey Chernov <a...@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. _______________________________________________ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"