Skip to content
Tcl Source Code View Ticket
Login

View Ticket

[lsort -dictionary "A Z ^Z a"] sorts differently on Windows

Closed / Fixed217953ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:46:33
OriginalBugID: 4056 Bug
Version: 8.3b1
SubmitDate: '2000-01-21'
LastModified: '2000-01-21'
Severity: SER
Status: Closed
Submitter: techsupp
ChangedBy: hobbs
RelatedBugIDs: 4054
OS: All
OSVersion: Windows and Linux
Machine: Windows and Linux
FixedDate: '2000-10-25'
ClosedDate: '2000-01-21'


Name:
Philip Moore

Comments:
Sorry for basically reporting this bug twice.. But I've narrowed the problem down.. It does NOT involve Eggdrop..  
I just don't understand:
Linux tclsh:
% lsort -dictionary "A Z ^Z a"
A Z ^Z a

Why does it put "Z" after "A" and before "a"?  I know the "^Z" in there is confusing it somehow, because it sorts it as expected without the "^Z" in it:
% lsort -dictionary "A Z a"
A a Z

ReproducibleScript:
Windows tclsh:
% lsort -dictionary "A Z ^Z a"
^Z A a Z

Linux tclsh:
% lsort -dictionary "A Z ^Z a"
A Z ^Z a

ObservedBehavior:
Windows tclsh and *nix tclsh sorts differently..

DesiredBehavior:
The Windows tclsh way is the one I expect and prefer!
welch Closed ticket [217953ffff]. [History diff]2000-10-26 08:10:55
dgp Ticket [217953ffff]: 4 changes [History diff]2001-04-14 02:48:51
Log in (anonymous is fine) to add a comment.