From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QKGlX-0003Zx-BE for garchives@archives.gentoo.org; Wed, 11 May 2011 21:16:19 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 97ED81C004; Wed, 11 May 2011 21:14:56 +0000 (UTC) Received: from basement.kutulu.org (187.250.102.97.cfl.res.rr.com [97.102.250.187]) by pigeon.gentoo.org (Postfix) with ESMTP id 69E381C004 for ; Wed, 11 May 2011 21:14:56 +0000 (UTC) Received: from localhost (basement.kutulu.org [127.0.0.1]) by basement.kutulu.org (Postfix) with ESMTP id 5DA287D8025 for ; Wed, 11 May 2011 13:15:00 -0400 (EDT) X-Virus-Scanned: amavisd-new at kutulu.org Received: from basement.kutulu.org ([127.0.0.1]) by localhost (basement.kutulu.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iGF7T9py+aCc for ; Wed, 11 May 2011 13:15:00 -0400 (EDT) Received: from [192.168.100.84] (173.221.47.98.nw.nuvox.net [173.221.47.98]) by basement.kutulu.org (Postfix) with ESMTPSA id EC9777D8024 for ; Wed, 11 May 2011 13:14:59 -0400 (EDT) Message-ID: <4DCAFC4F.1080404@kutulu.org> Date: Wed, 11 May 2011 17:14:55 -0400 From: Mike Edenfield User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: How's the openrc update going for everyone? References: <4DC9B435.9010308@gmail.com> <4DC9BF0A.6040800@wonkology.org> <4DC9C5F0.4000303@gmail.com> <20110511003835.71388717@zaphod.digimed.co.uk> <4DC9CF35.7010503@gmail.com> <4DCA821F.8050904@gmail.com> <4DCA91D1.50505@gmail.com> <4DCAAE6E.9030809@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: X-Archives-Hash: 8b7f9294af30b076170717585132f91b On 5/11/2011 12:02 PM, Nikos Chantziaras wrote: > On 05/11/2011 06:53 PM, Nikos Chantziaras wrote: >> On 05/11/2011 06:42 PM, Dale wrote: >>> That was quick: >>> >>> root@fireball / # grep LC_ALL /etc/env.d/* >>> root@fireball / # >>> >>> Guess that is not in env.d anywhere. :/ >> >> Then I guess you can create it on your own. See: >> >> http://www.gentoo.org/doc/en/guide-localization.xml#doc_chap3 > > Heh, according to the guide I linked to, setting LC_ALL is a bad idea > :-D So I guess the grep should have been: The only problem with LC_ALL is that it overrides all of the other LC_* variables. When looking for locale information for a given category, the order is: LC_ALL -> LC_{COLLATE|CTYPE|MESSAGES|TIME|NUMERIC|MONETARY} -> LANG (glibc adds a bunch of other LC_* variables from a POSIX draft that never got formalized.) Setting just LANG= and setting just LC_ALL= have the same ultimate result: every localization category uses the same locale. The difference is that setting LC_ALL means you can't turn around and redefine, say, just LC_TIME to use some other locale's format. --Mike