Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Apr 2017 11:51:43 +0300
From:      Toomas Soome <tsoome@me.com>
To:        Andrey Chernov <ache@freebsd.org>
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:  <A332BA67-E71E-4CDF-AB98-241A802F8EFA@me.com>
In-Reply-To: <7a08478e-ee7c-70f6-1b52-bb966f47c594@freebsd.org>
References:  <fe2da09242ff63acb0c62dd0519cfa1f@i805.com.br> <25969d2c-6857-77a4-86a4-08b22f15cbfe@freebsd.org> <c0b1548a69d63a72ea73a299e55a0be9@i805.com.br> <7a08478e-ee7c-70f6-1b52-bb966f47c594@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

> On 7. apr 2017, at 11:29, Andrey Chernov <ache@freebsd.org> wrote:
>=20
>>  Hi Allan, the ls show all files without case match
>>=20
>> ls [a-z]*
>>=20
>> show all files beginning with a and A  like this [aA-zZ]*
>=20
> No, last "Z" is not included.
>=20

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A332BA67-E71E-4CDF-AB98-241A802F8EFA>