Forum: Cfengine Help Subject: Re: Logic headache Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,18232,18233#msg-18233
Neil, first two expressions aren't exactly equivalent. !Sunday.!Morning.!dev_env.!phost is equal to !(Sunday|Morning|dev_env|phost). Last expression contains one extra parenthesis which makes me thinking that some important part of the expression has been omitted, and it really affects something. Looking at first two expressions, I conclude that it probably contained that global negation !(), and if it is so, you'll get it evaluated to true everytime when any part of logical AND gets evaluated to false. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine