Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2016-08-25
09:57 • New ticket [f44329748b] lsort: obsolete parts in the documentation. artifact: bf89572ac1 user: zoltan3

lsort: obsolete parts in the documentation

Openf44329748b062e521b60508c497786d6e99a4afcCreated 10 years agoUpdated 10 years ago
Descriptionplain2016-08-25 09:57:12
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"
Log in (anonymous is fine) to add a comment.