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 contents of > the file, but it does not help where the current contents need to be > updated. That is why I *always* use a text editor to modify > configuration files. True, sed is a good choice for that. -- Neil Bothwick EASY TO INSTALL = Difficult to install, but instruction manual has pictures.