From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24023 invoked from network); 13 Dec 2000 14:51:49 -0000 Received: from sunsite.dk (HELO sunsite.auc.dk) (130.225.51.30) by ns1.primenet.com.au with SMTP; 13 Dec 2000 14:51:49 -0000 Received: (qmail 18427 invoked by alias); 13 Dec 2000 14:51:44 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 13256 Received: (qmail 18419 invoked from network); 13 Dec 2000 14:51:43 -0000 Sender: hniksic@bootcamp8.arsdigita.de To: zsh-workers@sunsite.auc.dk Subject: Case-insensitive globbing? X-Attribution: Hrvoje X-Face: &{dT~)Pu6V<0y?>3p$;@vh\`C7xB~A0T-J%Og)J,@-1%q6Q+, gs<-9M#&`I8cJp2b1{vPE|~+JE+gx;a7%BG{}nY^ehK1"q#rG O,Rn1A_Cy%t]V=Brv7h Date: 13 Dec 2000 15:51:16 +0100 Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Capitol Reef) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Under Solaris, when you choose any locale that is not "C", even some as innocent-looking as "en_US", globbing works with locale-specific data. While this looks like a nice idea at a glance, it leads to very strange behavior: $ touch foo bar qux IMPORTANT $ ls [a-z]* bar foo qux $ LC_ALL=en_US zsh $ ls [a-z]* bar foo IMPORTANT qux I don't know about you, but I would expect `rm [a-z]*' to leave the file IMPORTANT in place. With zsh under Solaris and en_US locale, it would get deleted. Could you please make the ranges in [...] range through ASCII, as the users would expect? The users who want case-insensitiveness as enforced by the locale can always use [[:alpha:]] and whatnot. Please Cc responses to me, as I am not subscribed to this list. Thanks.