[exim-dev] [Bug 1193] New: description of valid "bool" opera…

Top Page

Reply to this message
Author: Jasen Betts
To: exim-dev
Subject: [exim-dev] [Bug 1193] New: description of valid "bool" operator input excludes empty string
------- You are receiving this mail because: -------
You are on the CC list for the bug.

           Summary: description of valid "bool" operator input excludes
                    empty string
           Product: Exim
           Version: N/A
          Platform: Other
               URL: http://www.exim.org/exim-html-
        OS/Version: Linux
            Status: NEW
          Keywords: work:tiny
          Severity: bug
          Priority: low
         Component: Documentation
        AssignedTo: nigel@???
        ReportedBy: jasen@???
                CC: exim-dev@???

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.

$ exim -be '${if bool{}{True}{False}}'

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