help-cfengine
[Top][All Lists]
Advanced

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

Re: editfiles not working!?


From: Bruce Richardson
Subject: Re: editfiles not working!?
Date: Mon, 3 Jun 2002 15:22:05 +0100
User-agent: Mutt/1.3.28i

On Mon, Jun 03, 2002 at 01:48:07PM +0200, Mark.Burgess@iu.hio.no wrote:
> 
> "Matching" needs an exact match, I believe, so try
> 
> HashCommentLinesMatching "^[^#].*"
> 
> to account for the rest of the line.

But that's not the way regular expressions are supposed to work,
although it seems familiar, having been bitten by regexes in cfengine
before.  "^[^#]" should match all lines that don't begin with #.  Works
for grep.

-- 
Bruce

Those who cast the votes decide nothing.  Those who count the
votes decide everything. -- Joseph Stalin

Attachment: pgpAJyI4AZHMk.pgp
Description: PGP signature


reply via email to

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