From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,dd7c77add2895bda X-Google-Attributes: gid111c93,public From: michal@gortel.phys.ualberta.ca (Michal Jaegermann) Subject: Re: File name expansion in (t)csh on RedHat 6.1 Linux. Date: 2000/03/22 Message-ID: <8bb4pm$kde$1@pulp.srv.ualberta.ca>#1/1 X-Deja-AN: 600963184 References: <8b7icc$isg$1@news.surfnet.nl> Organization: Disorganized Bits Reply-To: michal@phys.ualberta.ca Newsgroups: comp.os.linux.alpha Gerlach van Beinum (G.vanBeinum@bouw.tno.nl) wrote: : Since yesterday we have a DS10 with RedHat 6.1 Linux. We had already several : I386 Linuxes. One thing that is very strange for us is the fact that the : command 'ls [A-Z]*' lists ALL files in the directory and not only the files : that start with an upper case letter. This happens in the csh and in tcsh. I **think** that this may have someting to do with a broken collating sequence if at least one of environment variables LC_ALL or LANG is set. At least if one of these is set to 'en_US' then there is no way to prevent 'sort' from folding an upper and lower case. Try to unset both of these and check how this will affect results. If this helps you may prevent setting these variables on a startup of tcsh by doing 'chmod a-x /etc/profile.d/lang.csh'; but you may still want to keep something from there so you may want just edit, or replace, this setup file with something of your choice. Weirdly enough running 'ls' from bash does not seem to be affected even if a corresponding LC_COLLATE file still seems to be consulted. I am not sure what is going on and 'sort' is buggered does not matter from where you are running it. In any case, just yesterday I filed a bug report on bugzilla.redhat.com, filing it under "Platform: Alpha" as this is where I can confirm this, and got a note today from bugzilla that this report was changed to "Platform: All" as everybody appears to be broken in the same manner. So do not feel chosen. :-) Michal