help-cfengine
[Top][All Lists]
Advanced

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

Re: Regcmp not working?


From: Christian Pearce
Subject: Re: Regcmp not working?
Date: Thu, 07 Jul 2005 11:00:08 -0400

Works, ugh.. Thanks.

On Thu, 2005-07-07 at 09:55 -0500, Brendan Strejcek wrote:
> 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
-- 
Christian Pearce
Perfect Order, Inc.
http://www.sysnav.com
http://www.perfectorder.com

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

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