help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: editfiles missing the profound function?


From: lists
Subject: Re: editfiles missing the profound function?
Date: Wed, 23 Feb 2005 12:01:19 -0500
User-agent: Mutt/1.5.6+20040907i

On Wed, Feb 23, 2005 at 10:42:24AM -0600, Brendan Strejcek wrote:
> In any case, this has been what I have been doing to solve this problem
> recently. It's still two lines, but I think it is more readable than
> anything else I have seen.

>     DeleteLinesMatching "^somevar = .*$"
>     AppendIfNoSuchLine "somevar = somevalue"

but this kicks in on every run, doesn't it?

-- 
Yaroslav Halchenko
Research Assistant, Psychology Department, Rutgers-Newark
Office: (973) 353-5440x263 | FWD: 82823 | Fax: (973) 353-1171
Student  Ph.D. @ CS Dept. NJIT, Master @ CS Dept. UNM




reply via email to

[Prev in Thread] Current Thread [Next in Thread]