Skip to content
Tcl Source Code View Ticket
Login

View Ticket

lsort -dictionary -decreasing works differently on Unix and

Closed / Invalid218288ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:55:37
OriginalBugID: 3471 Bug
Version: 8.0.5
SubmitDate: '1999-11-05'
LastModified: '1999-11-08'
Severity: MED
Status: Closed
Submitter: techsupp
ChangedBy: hobbs
OS: Windows NT
OSVersion: Worksstation 4.0
FixedDate: '2000-10-25'
FixedInVersion: 8.1
ClosedDate: '1999-11-08'


Name:
Yaniv Kimchi

CVS:
Tclpro 1.2 received with a CD from Scriptics 03/99

Extensions:
Tkx Iwigets

Comments:
IS is a very Basic bug in one of the sort routines uner windows.

ReproducibleScript:
set ldir [list tranb008 tranb009 tranb00a]
    set ldir1 [lsort -dictionary -decreasing $ldir]
    puts [lindex $ldir1 0]
    
    if Unix it prints tranb00a (As should be)
    in windows it prints tranb009 (ERROR).


Tests here indicate that both print out tranb009, which is the
expected behavior (due to use of -dictionary). 
-- 11/08/1999 hobbs
welch Closed ticket [218288ffff]. [History diff]2000-10-26 08:18:58
dgp Ticket [218288ffff]: 4 changes [History diff]2001-04-21 02:59:10
Log in (anonymous is fine) to add a comment.