[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: HashCommentLinesMatching
From: |
Billy Allan |
Subject: |
Re: HashCommentLinesMatching |
Date: |
Fri, 28 Mar 2003 10:15:37 +0000 |
User-agent: |
Mutt/1.4i |
On Fri, Mar 28, 2003 at 09:52:14AM +0000, Andrew Stribblehill wrote:
> 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"
But that's not nearly as clear or easy to understand as :
HashCommentLinesNotMatching "xyzzy"
Which would seem to me to leave you with a more understandable config
file...
Billy.
- HashCommentLinesMatching, Akop Pogosian, 2003/03/27
- Re: HashCommentLinesMatching, Billy Allan, 2003/03/28
- Re: HashCommentLinesMatching, Andrew Stribblehill, 2003/03/28
- Re: HashCommentLinesMatching,
Billy Allan <=
- Re: HashCommentLinesMatching, Mark . Burgess, 2003/03/28
- Re: HashCommentLinesMatching, Akop Pogosian, 2003/03/31
- Re: HashCommentLinesMatching, Mark Burgess, 2003/03/31
- Re: HashCommentLinesMatching, Andrew Stribblehill, 2003/03/31
- Re: HashCommentLinesMatching, Mark . Burgess, 2003/03/31
- Re: HashCommentLinesMatching, clemens fischer, 2003/03/31
- Re: HashCommentLinesMatching, Mark . Burgess, 2003/03/31
- Re: HashCommentLinesMatching, clemens fischer, 2003/03/31
- Re: HashCommentLinesMatching, Akop Pogosian, 2003/03/31