2 Jan 2012 23:07
[Bug 1193] New: description of valid "bool" operator input excludes empty string
Jasen Betts <jasen <at> treshna.com>
2012-01-02 22:07:11 GMT
2012-01-02 22:07:11 GMT
------- You are receiving this mail because: ------- You are on the CC list for the bug. http://bugs.exim.org/show_bug.cgi?id=1193 Summary: description of valid "bool" operator input excludes empty string Product: Exim Version: N/A Platform: Other URL: http://www.exim.org/exim-html- current/doc/html/spec_html/ch11.html#SECTexpcond OS/Version: Linux Status: NEW Keywords: work:tiny Severity: bug Priority: low Component: Documentation AssignedTo: nigel <at> exim.org ReportedBy: jasen <at> treshna.com CC: exim-dev <at> exim.org In the description of the bool condition operator it does not mention that the empty string is treated as false, it lists a few values and states that all other strings are considered errors, I interpreted that as meaning that the empty string was an error, however exim sensibly treats it as false. eg: $ exim -be '${if bool{}{True}{False}}' False(Continue reading)
RSS Feed