1 |
On Mon, Nov 07, 2005 at 03:38:00AM -0200, Rafael Barreto wrote |
2 |
> Is this right? Well, what I really want is replace just CLOCK="fool1" |
3 |
> by CLOCK="fool2" keeping the comments in line. |
4 |
|
5 |
That is not what sed is designed to do. "sed" is "Streaming EDitor". |
6 |
You specify an input file, and the changed file goes to STDOUT. If you |
7 |
want to change the original file, you need to use "ed". For details, |
8 |
"man ed". |
9 |
|
10 |
-- |
11 |
Walter Dnes <waltdnes@××××××××.org> In linux /sbin/init is Job #1 |
12 |
My musings on technology and security at http://tech_sec.blog.ca |
13 |
-- |
14 |
gentoo-user@g.o mailing list |