bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Surprising behavior with inline environment variable expansion


From: Chet Ramey
Subject: Re: Surprising behavior with inline environment variable expansion
Date: Wed, 26 Mar 2025 16:05:57 -0400
User-agent: Mozilla Thunderbird

On 3/26/25 8:09 AM, Léa Gris wrote:

I wonder if locale is switched accordingly to environment variables, but environment variables may not automatically switch to the new locale.

There is a precedence hierarchy associated with locale environment variables, since setting and unsetting environment variables is under
the user's control.

This POSIX section explains it pretty well.

https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/V1_chap08.html#tag_08_02


--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]