Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: LC_ALL=C foo, where foo is a shell function
- X-seq: zsh-users 9082
- From: Vincent Lefevre <vincent@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: LC_ALL=C foo, where foo is a shell function
- Date: Sun, 10 Jul 2005 02:04:36 +0200
- In-reply-to: <1050709204433.ZM17965@xxxxxxxxxxxxxxxxxxxxxxx>
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20050709191401.GP6472@xxxxxxxxxxxxx> <1050709204433.ZM17965@xxxxxxxxxxxxxxxxxxxxxxx>
On 2005-07-09 20:44:33 +0000, Bart Schaefer wrote:
> Doesn't happen to me:
[snip]
Well, I don't know what happens, this is really strange.
ay:~> locale
LANG=POSIX
LC_CTYPE=en_US.ISO8859-1
LC_NUMERIC="POSIX"
LC_TIME=en_DK
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=
ay:~> foo() { echo $LC_ALL }
ay:~> LC_ALL=C foo
C
ay:~> echo $LC_ALL
ay:~> locale
LANG=POSIX
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=C
ay:~> env | grep LC_ALL
LC_ALL=C
Any explanation?
> What version of zsh are you testing?
4.2.5 from Debian (Debian package zsh 4.2.5-7).
--
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
Messages sorted by:
Reverse Date,
Date,
Thread,
Author