public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: William Hubbs <williamh@gentoo.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] setting locale
Date: Tue, 31 May 2011 10:44:25 -0500	[thread overview]
Message-ID: <20110531154425.GA10211@linux1> (raw)
In-Reply-To: <20110531071916.2fb6d1da@osage.osagesoftware.com>

[-- Attachment #1: Type: text/plain, Size: 529 bytes --]

On Tue, May 31, 2011 at 07:19:16AM -0400, David Relson wrote:
> Why not use "echo >> ..." ?? 
> 
> Since the ">>" does an append, the original file contents are still
> available for reference. 
> 
> Since the added line is at the end of the file, the new value will be
> used instead of the old value.

In this case though, to set the locale properly, you should set LANG or
LC_CTYPE and not set any of the other LC_* variables. If you are setting
the other variables, those settings should be removed.

William


[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2011-05-31 15:46 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <gYbX5-6Uj-55@gated-at.bofh.it>
     [not found] ` <gYbX5-6Uj-57@gated-at.bofh.it>
     [not found]   ` <gYbX5-6Uj-53@gated-at.bofh.it>
     [not found]     ` <gYd2O-i6-3@gated-at.bofh.it>
2011-05-30 17:46       ` [gentoo-user] setting locale David W Noon
2011-05-30 19:03         ` Neil Bothwick
2011-05-30 20:34         ` Nils Larsson
2011-05-31 11:19           ` David Relson
2011-05-31 15:44             ` William Hubbs [this message]
2011-05-31 20:31               ` Mick
     [not found] <gXZCx-2Bo-7@gated-at.bofh.it>
     [not found] ` <gY0ff-3Pz-1@gated-at.bofh.it>
2011-05-30 14:43   ` David W Noon
2011-05-30 15:55     ` Neil Bothwick
2011-05-30 17:40     ` Florian Philipp
2011-05-30 18:23       ` Dale
2011-05-31  0:58     ` Allan Gottlieb
2011-05-31  2:11       ` daid kahl
2011-05-30  1:26 Allan Gottlieb
2011-05-30  2:07 ` Nils Larsson
2011-05-30 14:14   ` Allan Gottlieb

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110531154425.GA10211@linux1 \
    --to=williamh@gentoo.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox