Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 083d5329bae99f67a06b6d7efa558c5a6a61836d
Ticket: 218594ffffffffffffffffffffffffffffffffff
lsort -dictionary option bug with imbedded numbers
User & Date: nobody on 2000-10-26 01:02:54
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 1389 Bug
    Version: 8.0.3
    SubmitDate: '1999-03-02'
    LastModified: '1999-08-07'
    Severity: MED
    Status: Released
    Submitter: pat
    ChangedBy: hobbs
    OS: Windows NT
    OSVersion: 4.0
    Machine: X86
    FixedDate: '1999-08-07'
    FixedInVersion: 8.1
    ClosedDate: '2000-10-25'
    
    
    Name:
    Jon Hilbert
    
    CustomShell:
    none
    
    ReproducibleScript:
    lsort -dictionary {9-999-9 0-101-0}
    
    ObservedBehavior:
    Results are {9-999-9 0-101-0}
    
    the -dictionary sort doesn't reorder the supplied list because of the code to ignore leading zeroes. I have submitted a patch for this before (tcl 8.0) but it seems to be ignored. I will try to submit a patch in a Scriptics-approved fashion. This may have changed dramatically for 8.1 due to internationalization - I haven't looked at that.
    
    DesiredBehavior:
    Result should be {0-101-0 9-999-9}
    
    PatchFiles:
    tclCmdIL.c
    
    
    
    This returns the correct, desired value in 8.1+. 
    -- 08/07/1999 hobbs
    
  4. foundin changed to: "obsolete: 8.0.3"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "69. Other"
  10. title changed to: "lsort -dictionary option bug with imbedded numbers"
  11. type changed to: "Bug"