Chet Ramey wrote:
>> Chet Ramey wrote:
>>> (Since I don't set LC_ALL anywhere in my startup files, my system's
>>> default locale is apparently en_US.UTF-8.)
>> Even if you don't actively set the LANG, LC_COLLATE, LC_ALL locale
>> variables in your shell startup files they may be getting set in your
>> environment through PAM's /etc/environment or through /etc/profile.
>> The recent trend seems to be to use /etc/environment for this.
>
> /etc/environment does not appear on my system and the variable is not
> set in /etc/profile. Be that as it may, from a user's perspective, it's
> the same thing: something set outside his control is effectively the
> "system-default locale".
Exactly. And I want to learn how to shoot that dang thing down. Dead.
If I've cleared my environment of LC_* and LANG values, then by gum
``echo [a-z]*'' should work the way it has for the past 35 years, and
not some newfangled thing that somebody thought would be "helpful".
Down with "system default locale".
Thanks - Bruce