On Tuesday 31 May 2011 16:44:25 William Hubbs wrote:
> 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
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 val
On Mon, 30 May 2011 22:34:46 +0200
Nils Larsson wrote:
> Eh... Right, so ...
>
> The echo example might have been a bit blunt. I've found myself using
> echo examples as a general "you need to add this setting here"
> device, like you learn to do when you start using Gentoo, might have
> been a b
On 30 May 2011 20:58, Allan Gottlieb wrote:
> On Mon, May 30 2011, David W. Noon wrote:
>
>> On Mon, 30 May 2011 04:20:01 +0200, Nils Larsson wrote about Re:
>> [gentoo-user] setting locale:
>>
>>>måndagen den 30 maj 2011 03:26:49 skrev Allan Gottlieb:
>&
On Mon, May 30 2011, David W. Noon wrote:
> On Mon, 30 May 2011 04:20:01 +0200, Nils Larsson wrote about Re:
> [gentoo-user] setting locale:
>
>>måndagen den 30 maj 2011 03:26:49 skrev Allan Gottlieb:
>>> What must I do to get "en_US_utf8" ?
>>
>&g
Eh... Right, so ...
The echo example might have been a bit blunt. I've found myself using echo
examples as a general "you need to add this setting here" device, like you
learn to do when you start using Gentoo, might have been a bit presumptuous of
me.
As for the incorrect locale string, copy&
On Mon, 30 May 2011 18:46:47 +0100, David W Noon wrote:
> >Setting noclobber in /etc/profile.d/*shopts.sh avoids that particular
> >problem, as well was the one of accidentally nuking a file when you
> >meant to add to it with >>.
>
> Setting noclobber is fine for not obliterating the current c
Florian Philipp wrote:
Sure thing. However, it is much faster to type `echo foo> bar` than
writing "Open your favorite file editor and enter 'foo' into 'bar'."
Being concise is often the better approach when you want to show a
solution to the problem at hand instead of educating the reader.
Ev
On Mon, 30 May 2011 18:00:02 +0200, Neil Bothwick wrote about Re:
[gentoo-user] setting locale:
>On Mon, 30 May 2011 15:43:19 +0100, David W Noon wrote:
>
>> Moreover, I never use file redirection from echo when a text editor
>> is a more appropriate tool. What you have sug
Am 30.05.2011 16:43, schrieb David W Noon:
> On Mon, 30 May 2011 04:20:01 +0200, Nils Larsson wrote about Re:
> [gentoo-user] setting locale:
>
>> måndagen den 30 maj 2011 03:26:49 skrev Allan Gottlieb:
>>> What must I do to get "en_US_utf8" ?
>>
>>
On Mon, 30 May 2011 15:43:19 +0100, David W Noon wrote:
> Moreover, I never use file redirection from echo when a text editor is
> a more appropriate tool. What you have suggested above could well
> replace a valid locale setting with an that invalid one, without any
> checks at all on the existi
On Mon, 30 May 2011 04:20:01 +0200, Nils Larsson wrote about Re:
[gentoo-user] setting locale:
>måndagen den 30 maj 2011 03:26:49 skrev Allan Gottlieb:
>> What must I do to get "en_US_utf8" ?
>
>echo "LANG=en_US_utf8" > /etc/env.d/02locale
>and
>env-up
On Sun, May 29 2011, Nils Larsson wrote:
> måndagen den 30 maj 2011 03:26:49 skrev Allan Gottlieb:
>> What must I do to get "en_US_utf8" ?
>
> echo "LANG=en_US_utf8" > /etc/env.d/02locale
> and
> env-update
> should work.
Thanks. It just needed
source /etc/profile
at the end. The variables ar
måndagen den 30 maj 2011 03:26:49 skrev Allan Gottlieb:
> What must I do to get "en_US_utf8" ?
echo "LANG=en_US_utf8" > /etc/env.d/02locale
and
env-update
should work.
On one of my machines all the LC_ variables are "POSIX".
I want them to be "en_US.utf8" as on my other machines.
I have the done the following (from the handbook)
1. cat /etc/local.gen (ignoring comments)
en_US ISO-8859-1
en_US.UTF-8 UTF-8
2. locale-gen
3. source /etc/profile
4. loc
15 matches
Mail list logo