diff options
-rw-r--r-- | jim_tcl.txt | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/jim_tcl.txt b/jim_tcl.txt index a7c3249..59fcb23 100644 --- a/jim_tcl.txt +++ b/jim_tcl.txt @@ -3132,10 +3132,12 @@ the list are to be matched against pattern and must have one of the values below lsort ~~~~~ -+*lsort* ?*-index* 'listindex'? ?*-integer*|*-command* 'cmdname'? ?*-decreasing*|*-increasing*? 'list'+ ++*lsort* ?*-index* 'listindex'? ?*-nocase*!*-integer*|*-command* 'cmdname'? ?*-decreasing*|*-increasing*? 'list'+ Sort the elements of +'list'+, returning a new list in sorted order. -By default, ASCII sorting is used, with the result in increasing order. +By default, ASCII (or UTF-8) sorting is used, with the result in increasing order. + +If +-nocase+ is specified, comparisons are case-insenstive. If +-integer+ is specified, numeric sorting is used. @@ -3152,10 +3154,6 @@ If +-index 'listindex'+ is specified, each element of the list is treated as a l the given index is extracted from the list for comparison. The list index may be any valid list index, such as +1+, +end+ or +end-2+. -If +-index 'listindex'+ is specified, each element of the list is treated as a list and -the given index is extracted from the list for comparison. The list index may -be any valid list index, such as +1+, +end+ or +end-2+. - open ~~~~ +*open* 'fileName ?access?'+ |