[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sort
From: |
Paul Eggert |
Subject: |
Re: sort |
Date: |
Mon, 29 Aug 2005 10:46:20 -0700 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
Nathan Moore <address@hidden> writes:
> I guess that the best way to put it is, what is the correct behavior
> when none of the LC_ environmental variables
> are set? This really isn't mentioned in the documentation (or I
> wasn't able to find it).
If they are not set, and if LANG is not set, then the locale is
implementation-defined, so you have to consult the documentation for
your C library to figure out what it does.
On all the hosts I'm aware of the default will be either "POSIX" or
"C"; there's no practical difference between the two.
To find out the default, run the "locale" command with an empty environment.
E.g., here's what happens on my host (Debian GNU/Linux 3.1):
$ env -i locale
LANG=POSIX
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
- sort, Nathan Moore, 2005/08/29
- Re: sort, Bob Proulx, 2005/08/29
- Re: sort, James Youngman, 2005/08/29
- Re: sort, Nathan Moore, 2005/08/29
- Re: sort,
Paul Eggert <=
- Re: sort, Bob Proulx, 2005/08/29
- Re: sort, Nathan Moore, 2005/08/29
- Re: sort, Bob Proulx, 2005/08/30