Artifacts Associated With Ticket d15847d7b61a0686
Ticket change [12825e8983] (rid 185281) by pooryorick on 2020-08-01 07:59:22:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-fossil-wiki"
- comment initialized to:
The output of the following script is <code>127 0 128</code> when it should be <code>0 127 128</code>: <code><verbatim> set list [list \x80 \x7f \x00] set sorted {} foreach item [lsort $list] { scan $item %c ord lappend sorted $ord } puts $sorted </verbatim></code> Furthermore, with the <code>-dictionary</code> argument, the output is <code>0 127 128</code>, as expected: <code><verbatim> set list [list \x80 \x7f \x00] set sorted {} foreach item [lsort -dictionary $list] { scan $item %c ord lappend sorted $ord } puts $sorted </verbatim></code> - foundin initialized to: "core-8-6-branch"
- is_private initialized to: "0"
- login: "pooryorick"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "pooryorick"
- subsystem initialized to: "17. Commands I-L"
- title initialized to: "lsort and the null character"
- type initialized to: "Bug"
Ticket change [c2903f4055] (rid 185475) by pooryorick on 2020-08-11 14:05:02:
- closedate changed to: "2459073.08683412"
- closer changed to: "pooryorick"
- icomment: "Duplicate of [8e1e31eac0fd6b6c]."
- login: "pooryorick"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Duplicate"
- status changed to: "Closed"