From 'man 3tcl lsort':
-dictionary
Use dictionary-style comparison. This is the same as -ascii ex-
cept (a) case is ignored except as a tie-breaker and (b) if two
strings contain embedded numbers, the numbers compare as inte-
gers, not characters. For example, in -dictionary mode, bigBoy
sorts between bigbang and bigboy, and x10y sorts between x9y and
x11y. Overrides the -nocase option.
At Sun, 1 Oct 2023 07:42:12 -0700 (PDT) Shaun Kulesa <
[email protected]> wrote:
I am trying to order a list alphabetically but is ordering it so the strings starting with uppercase are ordered first then the strings with lowercase are ordered last.
How can I ignore the case of the strings?
Example output:
Ttk_PackBox
Ttk_PadBox
Ttk_PlaceBox
Ttk_RelievePadding
Ttk_StickBox
Ttk_UniformPadding
after
append
apply
argc
argv
argv0
array
attemptckalloc
attemptckrealloc
auto_execok
auto_import
auto_load
auto_mkindex
auto_path
auto_qualify
auto_reset
bell
bgerror
--
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software -- Custom Software Services
http://www.deepsoft.com/ -- Linux Administration Services
[email protected] -- Webhosting Services
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)