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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jasen Betts
Date:  
À: exim-dev
Sujet: [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.

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@???
        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.

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


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