1 |
On Mon, 30 May 2011 18:46:47 +0100, David W Noon wrote: |
2 |
|
3 |
> >Setting noclobber in /etc/profile.d/*shopts.sh avoids that particular |
4 |
> >problem, as well was the one of accidentally nuking a file when you |
5 |
> >meant to add to it with >>. |
6 |
> |
7 |
> Setting noclobber is fine for not obliterating the current contents of |
8 |
> the file, but it does not help where the current contents need to be |
9 |
> updated. That is why I *always* use a text editor to modify |
10 |
> configuration files. |
11 |
|
12 |
True, sed is a good choice for that. |
13 |
|
14 |
|
15 |
-- |
16 |
Neil Bothwick |
17 |
|
18 |
EASY TO INSTALL = Difficult to install, but instruction manual has |
19 |
pictures. |