problem with ls, not show a correct list

Toomas Soome tsoome at me.com
Fri Apr 7 08:52:01 UTC 2017


> 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;)

rgds,
toomas



More information about the freebsd-current mailing list