Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] setting locale
Date: Mon, 30 May 2011 15:57:42
Message-Id: 20110530165557.7b708534@digimed.co.uk
In Reply to: Re: [gentoo-user] setting locale by David W Noon
1 On Mon, 30 May 2011 15:43:19 +0100, David W Noon wrote:
2
3 > Moreover, I never use file redirection from echo when a text editor is
4 > a more appropriate tool. What you have suggested above could well
5 > replace a valid locale setting with an that invalid one, without any
6 > checks at all on the existing contents of the file. So, it's best to
7 > use vim, nano or even emacs for such a job.
8
9 Setting noclobber in /etc/profile.d/*shopts.sh avoids that particular
10 problem, as well was the one of accidentally nuking a file when you meant
11 to add to it with >>.
12
13
14 --
15 Neil Bothwick
16
17 Microbiology: staph only.

Attachments

File name MIME type
signature.asc application/pgp-signature