From owner-freebsd-questions@freebsd.org Mon Jul 20 11:22:44 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D7C1D35AAC8 for ; Mon, 20 Jul 2020 11:22:44 +0000 (UTC) (envelope-from freebsd-questions@m.gmane-mx.org) Received: from ciao.gmane.io (static.214.254.202.116.clients.your-server.de [116.202.254.214]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4B9K8M5XbLz3b5N for ; Mon, 20 Jul 2020 11:22:43 +0000 (UTC) (envelope-from freebsd-questions@m.gmane-mx.org) Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1jxTsX-0004X8-B9 for freebsd-questions@freebsd.org; Mon, 20 Jul 2020 13:22:41 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: freebsd-questions@freebsd.org To: freebsd-questions@freebsd.org From: Morten Bo Johansen Subject: Re: Locale oddity Date: Mon, 20 Jul 2020 13:22:34 +0200 Message-ID: References: <0467d480-ba58-3d5d-ca77-34d784b667f9@yuripv.dev> <20200720125355.4fd333bf.freebsd@edvax.de> Reply-To: mbj@mbjnet.dk User-Agent: slrn/1.0.3 (FreeBSD) Mail-Copies-To: Never X-Rspamd-Queue-Id: 4B9K8M5XbLz3b5N X-Spamd-Bar: ++++ X-Spamd-Result: default: False [4.28 / 15.00]; HAS_REPLYTO(0.00)[mbj@mbjnet.dk]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.71)[-0.710]; FROM_HAS_DN(0.00)[]; DMARC_POLICY_QUARANTINE(1.50)[mbjnet.dk : SPF not aligned (relaxed), No valid DKIM,quarantine]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; REPLYTO_DOM_EQ_FROM_DOM(0.00)[]; HFILTER_HOSTNAME_5(3.00)[static.214.254.202.116.clients.your-server.de]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; NEURAL_SPAM_SHORT(0.02)[0.023]; NEURAL_SPAM_LONG(0.46)[0.465]; FORGED_SENDER(0.30)[listmail@mbjnet.dk,freebsd-questions@m.gmane-mx.org]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:116.202.0.0/16, country:DE]; FROM_NEQ_ENVFROM(0.00)[listmail@mbjnet.dk,freebsd-questions@m.gmane-mx.org]; GREYLIST(0.00)[pass,meta]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jul 2020 11:22:44 -0000 On 2020-07-20 Polytropon wrote: > So the $LC_* variables you've set yourself will always keep > their value. You are right. My values were set by the system and then the unsetting of the $LANG variable would also change all the LC_* variables. But if I set the LC_* variables specifically on login, they retain their values even if $LANG is subsequently unset. Morten