Re: Bug in ${const.dollar}( ... )

2009-12-04 Thread NWatson
Jean-Noel, I'm not certain what the bug in question is. It would be helpful if you posted, along with your test case, your expected and actual results. Sincerely, -- Neil Watson 416-673-3465 CONFIDENTIALITY WARNING This communication, including any attachments, is for the exclusive use of a

Re: Bug in ${const.dollar}( ... )

2009-12-04 Thread Jean-Noël Rivasseau
Hi, yes this was only an example. The point was to demonstrate the cf-engine bug, I know that the example I wrote is stupid. Shall I report it to the bug mailing list (I think yes)? 2009/12/4 > You might try some negative testing on your shell command before you > integrate it with CF. I don't

Re: Bug in ${const.dollar}( ... )

2009-12-01 Thread NWatson
Did you try escaping $ instead? Give us a selfcontained bundle to compare with your results. Sincerely, -- Neil Watson 416-673-3465 CONFIDENTIALITY WARNING This communication, including any attachments, is for the exclusive use of addressee and may contain proprietary and/or confidential inf

Re: Bug in ${const.dollar}( ... )

2009-12-01 Thread Jean-Noël Rivasseau
Hmm, can someone reply about that? Jean-Noel On Fri, Nov 27, 2009 at 10:48 AM, Jean-Noël Rivasseau wrote: > Hello, > > I wanted to use the Bash syntax $(mycommand) to launch a subshell in a > returnszero promise. So I coded it as: > > "MyClass" expression => returnszero("/usr/bin/test 0 -eq > ${