------- 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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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


-- 
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim 
details at http://www.exim.org/ ##

Reply via email to