Date:Thu, 27 Mar 2025 17:22:03 -0400
From:Chet Ramey
Message-ID: <6da17a73-2aac-4fa5-9fa7-5bfff087d...@case.edu>
| The shell should assume that setting a shell variable means the
| user wants to modify the shell's locale settings.
Yes, of course, the question is
On 3/29/25 12:05 AM, Lawrence Velázquez wrote:
On Thu, Mar 27, 2025, at 5:22 PM, Chet Ramey wrote:
On 3/26/25 6:29 PM, Robert Elz wrote:
LANG is generally just the fallback for categories that haven't been
set to something else. For this, assume the LC_ALL had never been
set (setting LANG aft
On Sat, Mar 29, 2025, at 2:25 PM, Chet Ramey wrote:
> How does a locale doing this expose the category to the programmer?
> I suppose all possible additional locale categories have to be available
> to setlocale() somehow, via and the documentation.
Yeah, looks like POSIX explicitly permits that:
On Sat, Mar 29, 2025, at 4:52 PM, Lawrence Velázquez wrote:
> https://sourceware.org/git/?p=glibc.git;a=blob;f=locale/locale.h;hb=glibc-2.41#l33
> https://sourceware.org/git/?p=glibc.git;a=blob;f=locale/langinfo.h;hb=glibc-2.41#l584
> https://sourceware.org/git/?p=glibc.git;a=blob;f=localedata/loca