From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 289 invoked from network); 10 Jul 2005 00:58:15 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 10 Jul 2005 00:58:15 -0000 Received: (qmail 11156 invoked from network); 10 Jul 2005 00:58:09 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 10 Jul 2005 00:58:09 -0000 Received: (qmail 28919 invoked by alias); 10 Jul 2005 00:57:58 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9084 Received: (qmail 28909 invoked from network); 10 Jul 2005 00:57:55 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 10 Jul 2005 00:57:55 -0000 Received: (qmail 10072 invoked from network); 10 Jul 2005 00:57:55 -0000 Received: from vms042pub.verizon.net (206.46.252.42) by a.mx.sunsite.dk with SMTP; 10 Jul 2005 00:57:51 -0000 Received: from candle.brasslantern.com ([71.116.88.149]) by vms042.mailsrvcs.net (Sun Java System Messaging Server 6.2 HotFix 0.04 (built Dec 24 2004)) with ESMTPA id <0IJE00BRJ00D6OH5@vms042.mailsrvcs.net> for zsh-users@sunsite.dk; Sat, 09 Jul 2005 19:57:50 -0500 (CDT) Received: from candle.brasslantern.com (IDENT:schaefer@localhost [127.0.0.1]) by candle.brasslantern.com (8.12.11/8.12.11) with ESMTP id j6A0vmiQ018162 for ; Sat, 09 Jul 2005 17:57:48 -0700 Received: (from schaefer@localhost) by candle.brasslantern.com (8.12.11/8.12.11/Submit) id j6A0vmjV018161 for zsh-users@sunsite.dk; Sat, 09 Jul 2005 17:57:48 -0700 Date: Sun, 10 Jul 2005 00:57:47 +0000 From: Bart Schaefer Subject: Re: LC_ALL=C foo, where foo is a shell function In-reply-to: <20050710000436.GS6472@ay.vinc17.org> To: zsh-users@sunsite.dk Message-id: <1050710005748.ZM18160@candle.brasslantern.com> MIME-version: 1.0 X-Mailer: Z-Mail (5.0.0 30July97) Content-type: text/plain; charset=us-ascii References: <20050709191401.GP6472@ay.vinc17.org> <1050709204433.ZM17965@candle.brasslantern.com> <20050710000436.GS6472@ay.vinc17.org> Comments: In reply to Vincent Lefevre "Re: LC_ALL=C foo, where foo is a shell function" (Jul 10, 2:04am) X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.6 required=6.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.6 On Jul 10, 2:04am, Vincent Lefevre wrote: } Subject: Re: LC_ALL=C foo, where foo is a shell function } } 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. } } 4.2.5 from Debian (Debian package zsh 4.2.5-7). Ah. I tried it with the latest -dev version, compiled out of my CVS sandbox. If I try with 4.2.5, I get the same results as you. I just noticed that, even in the latest build, if LC_ALL starts out set (even to nothing), but not exported, then when "LC_ALL=C foo" is run LC_ALL becomes and remains exported, even though its value gets reset to the previous state. I don't know what differs between 4.2.5 and the latest CVS that would affect this.