From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <45219fb00802090227k37165755vd5243a4941c42a6f@mail.gmail.com> Date: Sat, 9 Feb 2008 11:27:51 +0100 From: "=?UTF-8?Q?Llu=C3=ADs_Batlle?=" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> Subject: Re: [9fans] How to move to rc from sh/bash In-Reply-To: <41561c97fb7b026c68a9418fe3357e16@terzarima.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <41561c97fb7b026c68a9418fe3357e16@terzarima.net> Topicbox-Message-UUID: 4d8f4872-ead3-11e9-9d60-3106f5b1d025 The meaning of [A-Z], on a gnu system, depends on the locale used. The letters between [A-Z] depend on the sorting order defined in the locale, and I guess that's defined by language in unicode somehow; but I don't know how much there is a decision by Unicode on that. For example, in Catalan we have that [A-Z] array defined as [aAbBcCdDeE...]. And imagine: [A-Z] doesn't include [a]. :) Using "LANG=C" before evaluating any [A-Z] expression should give you the usual C meaning of only capitals. 2008/2/9, Charles Forsyth : > this subject line reminds me: > > i'm fed up on Linux (Ubuntu) with bash messing up both file name matching > and 9term editing and i'd like to switch to p9p's rc. > (which twit decided that [A-Z] could ever be case-insensitive with a case-sensitive file store?) > is it just a matter of chsh (after changing /etc/shells)? > given my experience with Linux, that seems implausibly straightforward. > i tried googling for some a little while ago but without success. > >