Re: problem with ls, not show a correct list

From: Toomas Soome <tsoome_at_me.com>
Date: Fri, 07 Apr 2017 11:51:43 +0300
> 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
Received on Fri Apr 07 2017 - 06:52:01 UTC

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