Artifacts Associated With Ticket 9e91ffe236b74a8d
Ticket change [b851fcda9c] (rid 141633) by anonymous on 2015-04-28 17:02:44:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
The scan manual has the following text for the i conversion character: "The base (i.e. decimal, binary, octal, or hexadecimal) is determined in the same fashion as described in expr." But, scan does not actually work this way. e.g. # These commands works as advertised scan 0xFF %i scan 0100 %i # These commands always produce 0 as the result scan 0o100 %i scan 0b0111 %i
- foundin initialized to: "8.5"
- is_private initialized to: "0"
- login: "anonymous"
- priority initialized to: "5 Medium"
- private_contact initialized to: "bdcecae5a03289be0b09b3bc4d0689fcbdc2ddad"
- resolution initialized to: "None"
- severity initialized to: "Cosmetic"
- status initialized to: "Open"
- submitter initialized to: "anonymous"
- subsystem initialized to: "23. [scan]"
- title initialized to: "scan manual page error in %i description"
- type initialized to: "Bug"
Ticket change [c4d457d03f] (rid 141793) by dkf on 2015-05-16 05:55:59:
- assignee changed to: "dgp"
- icomment:
The %i conversion appears to have been forgotten when we extended the parsing of numbers in Tcl expressions.
- login: "dkf"
- mimetype: "text/x-fossil-wiki"
- priority changed to: "7 High"
- severity changed to: "Severe"
- username: "dkf"
Ticket change [54a29a3ba2] (rid 141883) by dgp on 2015-05-20 11:24:27:
- icomment:
It wasn't forgotten. I was intentionally left compatible. ( TCL_PARSE_SCAN_PREFIXES is not forgetting. :) ) What was forgotten was that the documentation shorthand "like expr" became false and wasn't corrected.
- login: "dgp"
- mimetype: "text/plain"
- icomment:
Ticket change [3591a1e1fc] (rid 258065) by serhiy.storchaka on 2026-10-14 18:38:50:
- icomment:
Fixed by [8a99d79f7e] in 8.6.7: the manual page now says that the base is determined by the C convention (leading 0 for octal, prefix 0x for hexadecimal).
- login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- icomment:
Ticket change [2837452213] (rid 259919) by serhiy.storchaka on 2026-10-22 17:19:25:
- closedate changed to: "2461328.2769678817"
- closer changed to: "serhiy.storchaka"
- login: "serhiy.storchaka"