help-cfengine
[Top][All Lists]
Advanced

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

Re: Regcmp not working?


From: Brendan Strejcek
Subject: Re: Regcmp not working?
Date: Thu, 7 Jul 2005 09:55:17 -0500
User-agent: Mutt/1.5.6+20040907i

Christian Pearce wrote:

> When I run this this I get "failed".  Should this echo "Test"?
> 
> control:
> 
>     actionsequence = ( shellcommands )
> 
>     command = ( "test" )
> 
> 
> groups:
> 
>    testing = ( Regcmp(${command}, ${command}) )
                                   ^
                                   
Try getting rid of the space marked above.


> shellcommands:
> 
>    testing::
>        "/bin/echo Test"
> 
>    !testing::
>        "/bin/echo failed"
> -- 
> Christian Pearce
> Perfect Order, Inc.
> http://www.sysnav.com
> http://www.perfectorder.com




reply via email to

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