On Mon, Nov 07, 2005 at 03:38:00AM -0200, Rafael Barreto wrote
> Is this right? Well, what I really want is replace just CLOCK="fool1"
> by CLOCK="fool2" keeping the comments in line.

  That is not what sed is designed to do.  "sed" is "Streaming EDitor".
You specify an input file, and the changed file goes to STDOUT.  If you
want to change the original file, you need to use "ed".  For details,
"man ed".

-- 
Walter Dnes <[EMAIL PROTECTED]> In linux /sbin/init is Job #1
My musings on technology and security at http://tech_sec.blog.ca
-- 
gentoo-user@gentoo.org mailing list

Reply via email to