Skip to content
Tcl Source Code History Of Ticket 1027849fffffffff
Login

History Of Ticket 1027849fffffffff

Artifacts Associated With Ticket 1027849fffffffff

  1. Ticket change [e20b453e5e] (rid 87549) by lvirden on 2004-09-14 11:46:20:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Currently, the expr(n) man page leaves readers a bit
      confused concerning the special limitation on operands
      that expr requires.
      
      In the rest of Tcl, a single word string value need not
      be quoted.
      However, in expr , this string format must be quoted. 
      This is specifically documented in expr(n) in operand
      formats 3 and 4.
      
      HOWEVER, earlier in the man page, the doc goes through
      the interpretation of the operands and states that if
      the operand matches any of the integer formats, it will
      be treated as an integer, then if it matches any of the
      floating number formats, it will be treated as a
      floating number.  The man page then states "[i]f no
      numeric interpretation is possible, then an operand is
      left as a string [...]".  It seems to me that the man
      page, at this point, should say:
      
      If no numeric interpretation is possible, and the
      operand is enclosed in either double quotes or braces,
      then the operand is left as a string [...].
      If none of these cases are true, expr will treat the
      expression as a syntax  error.
      
      This would clarify to the reader the case they may miss
      concerning the error.
      
    4. foundin initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "lvirden"
    9. subsystem initialized to: ""
    10. title initialized to:
      Slight clarification on expr man page would be helpful
      
    11. type initialized to: "Bug"
  2. Ticket change [3893d805b2] (rid 112234) by dkf on 2004-10-04 21:01:38:

    1. subsystem changed to: "None"
  3. Ticket change [6e87f4132a] (rid 100160) by dkf on 2004-10-04 21:01:39:

    1. assignee changed to: "nobody"
  4. Ticket change [4e850475bd] (rid 125655) by dkf on 2004-10-04 21:02:20:

    1. assignee changed to: "dkf"
    2. foundin changed to: "obsolete: 8.4.7"
    3. subsystem changed to: "16. Commands A-H"
  5. Ticket change [208e111438] (rid 130447) by dkf on 2004-10-26 17:25:16:

    1. closedate changed to: "2004-10-26T10:25:16"
    2. closer changed to: "dkf"
    3. icomment:
      Logged In: YES 
      user_id=79902
      
      It would also be wrong; you're mixing up literals and operands.
      
      Added some extra text to clarify. Fixed in HEAD
      
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "dkf"
  6. Ticket change [fba509a627] (rid 92100) by dgp on 2004-10-27 02:44:22:

    1. priority changed to: "9 Immediate"
  7. Ticket change [0bf8efce92] (rid 114094) by dgp on 2004-10-27 02:44:23:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      backport.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"