Tcl Source Code

View Ticket
Login
Ticket UUID: f44329748b062e521b60508c497786d6e99a4afc
Title: lsort: obsolete parts in the documentation
Type: Bug Created on: 2016-08-25 09:57:12
Submitter: zoltan3 Assigned to: nobody
Subsystem: 17. Commands I-L Severity: Minor
Priority: 5 Medium Last modified: 2016-08-25 09:57:12
Status: Open Closed by: nobody
Resolution: None Closed on:
Version: 8.5+
Description:
The following note is from 8.5+ no true:
"The options to lsort only control what sort of comparison is used, and do not necessarily constrain what the values themselves actually are. This distinction is only noticeable when the list to be sorted has fewer than two elements." 
(And it was not exact enough either, because this was noticeable, when the list had exactly one element.)

% lsort -integer 0.0
expected integer but got "0.0"