delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/12/03/22:48:36

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-6.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4CF9BA08.8060703@redhat.com>
Date: Fri, 03 Dec 2010 20:48:24 -0700
From: Eric Blake <eblake AT redhat DOT com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101103 Fedora/1.0-0.33.b2pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.6
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Problem with Bash regex test case sensitivity
References: <4CF96F70 DOT 3090507 AT veritech DOT com> <AANLkTikQJEJ6kHKZdzzA_YB_DHgZBevCLDKtAEm6ZgBg AT mail DOT gmail DOT com>
In-Reply-To: <AANLkTikQJEJ6kHKZdzzA_YB_DHgZBevCLDKtAEm6ZgBg@mail.gmail.com>
OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

--------------enig5B643DC8E4E20835BA34F458
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 12/03/2010 07:11 PM, Lee wrote:
>> Or, is this a bug?

No, but a "feature" of your locale.  Set 'export LC_COLLATE=3DC', and use
LANG rather than LC_ALL for all your other locale defaults, in your
~/.bashrc if you don't like it.

>=20
> Welcome to the new world order :-0   I tried to figure out why the
> collating sequence changes with the language settings but didn't get
> anywhere beyond the fact that it _does_ change.  Oh well.. try, try
> again.

Read the FAQ.  http://www.faqs.org/faqs/unix-faq/shell/bash/, E9.

--=20
Eric Blake   eblake AT redhat DOT com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


--------------enig5B643DC8E4E20835BA34F458
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBCAAGBQJM+boIAAoJEKeha0olJ0NqUHsIAKr98WWQPx4TuFMzCBvPwBtU
sHO4xkZHzY/6d32TEf4b1iCYtz40E8SMEqQ+BlG+ccn8YyX5As+DpKwVWOsDK+PZ
3EkQJFblnMTdLfy1nrfbqAmr9Q5W6IuEGgXEfIZjjn3S5WsZ2KqUui2SzNaE/IcL
c1WbdpjfPBu9m4VWoEmnopqp1Eo+lLSiaTSsK06Fc+Ea8IQEE7tM3HnRJpICBbxs
lewVIji4nkuf5TG+zC0Cc0pR5sst8LQyPz0uN9nyk85j91eM7PO849AZqO3aaE/g
2N8+OHkNCx6dkeHpDi/WQQMm9LzDqL0rzbZk/o1cG0q+xG7ZROG0zNs+WIuafUA=
=NKLF
-----END PGP SIGNATURE-----

--------------enig5B643DC8E4E20835BA34F458--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019