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 existing contents of the file. So, it's best to > use vim, nano or even emacs for such a job.
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 >>. -- Neil Bothwick Microbiology: staph only.
signature.asc
Description: PGP signature

