help-cfengine
[Top][All Lists]
Advanced

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

Re: HashCommentLinesMatching


From: Andrew Stribblehill
Subject: Re: HashCommentLinesMatching
Date: Fri, 28 Mar 2003 09:52:14 +0000
User-agent: Mutt/1.5.4i

Quoting Akop Pogosian <akopps@CSUA.Berkeley.EDU> (2003-03-28 03:56:36 GMT):
> Is there a way to hash comment lines that are NOT matching a regexp
> using this or some other cfengine command? Perhaps cfengine needs a
> new editing command, HashCommentLinesNotMatching?

Nah, you've got UnCommentLinesMatching. So just use:

HashCommentLinesMatching ".*"
UnCommentLinesMatching "xyzzy"

-- 
FITZROY
CYCLONIC 4 OR 5, BECOMING NORTHERLY 5 OR 6 IN WEST. THUNDERY RAIN.
MODERATE OR POOR




reply via email to

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