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 [thread overview]
Message-ID: <8bb4pm$kde$1@pulp.srv.ualberta.ca> (raw)
In-Reply-To: 8b7icc$isg$1@news.surfnet.nl
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
prev parent reply other threads:[~2000-03-22 5:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-03-21 5:00 File name expansion in (t)csh on RedHat 6.1 Linux Gerlach van Beinum
2000-03-21 5:00 ` Rich Griswold
2000-03-21 5:00 ` Tony Hammitt
2000-03-22 5:00 ` Gerlach van Beinum
2000-03-22 5:00 ` Michal Jaegermann [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox