Hi,
> So '!(Sunday|Morning|dev_env|phost)" means not Sunday and not morning and not
> dev_env and not phost?
Yes; I read this as follows:
"It cannot be Sunday, or Morning, or dev_env, or phost."
Boolean logic can be confusing ;-)
Greetings,
Ed Voncken.
__
Forum: Cfengine Help
Subject: Re: Logic headache
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,18232,18236#msg-18236
So '!(Sunday|Morning|dev_env|phost)" means not Sunday and not morning and not
dev_env and not phost?
___
Hel
Forum: Cfengine Help
Subject: Re: Logic headache
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,18232,18235#msg-18235
Seva Gluschenko Wrote:
---
> first two expressions aren't exactly equivalent.
> !Sunday.!Morning.!dev_
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 expressio