Artifacts Associated With Ticket 1027849fffffffffffffffffffffffffffffffff
Ticket change [e20b453e5e] (rid 87549) by lvirden on 2004-09-14 11:46:20:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- 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.
- foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "lvirden"
- subsystem initialized to: ""
- title initialized to:
Slight clarification on expr man page would be helpful
- type initialized to: "Bug"
Ticket change [3893d805b2] (rid 112234) by dkf on 2004-10-04 21:01:38:
- subsystem changed to: "None"
Ticket change [6e87f4132a] (rid 100160) by dkf on 2004-10-04 21:01:39:
- assignee changed to: "nobody"
Ticket change [4e850475bd] (rid 125655) by dkf on 2004-10-04 21:02:20:
- assignee changed to: "dkf"
- foundin changed to: "obsolete: 8.4.7"
- subsystem changed to: "16. Commands A-H"
Ticket change [208e111438] (rid 130447) by dkf on 2004-10-26 17:25:16:
- closedate changed to: "2004-10-26T10:25:16"
- closer changed to: "dkf"
- 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
- login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dkf"
Ticket change [fba509a627] (rid 92100) by dgp on 2004-10-27 02:44:22:
- priority changed to: "9 Immediate"
Ticket change [0bf8efce92] (rid 114094) by dgp on 2004-10-27 02:44:23:
- icomment:
Logged In: YES user_id=80530 backport.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment: