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" ?
>>
>> echo "LANG=en_US_utf8" > /etc/env.d/02locale
>> and
>> env-update
>> should work.
> 
> Not likely.  The correct locale string is "en_US.UTF-8", not the mess
> that is written above.
> 

Please stay polite. It also saves you the effort of writing those words. ;)

> 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 existing contents of the file.  So, it's best to
> use vim, nano or even emacs for such a job.

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.

Everyone who is able to install Gentoo should be able to understand the
shell line and use whatever approach he wants to achieve the same result
and if he is satisfied with the given line, he has a copy-and-paste
solution at hand (my colleagues call this "service to the reader").

Regards,
Florian Philipp

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to