Skip to content
Tcl Source Code Artifact [282fa886e1]
Login

Artifact [282fa886e1]

Artifact 282fa886e14decea1bc9150638fab30da16212e6:

Ticket change [282fa886e1] - Ticket [747083ffffffffff|747083ffff] <i>lsearch -command tclcmd -group grpsize, lsort -group grpsiz</i> status still Open with 4 other changes by kieranelby on 2008-08-29 23:36:24.
D 2008-08-29T23:36:24
J icomment Logged\sIn:\sYES\s\nuser_id=99072\nOriginator:\sNO\n\nI've\soften\sthought\sthe\sability\sto\sdirectly\ssort\sa\nname-value\sstyle\sof\slist\swould\sbe\srather\suseful,\nand\sfancied\ssome\sexercise\sin\sTcl\sinternals,\sso\sI've\ncreated\spatch\s2082681\swhich\sadds\sa\s"-group"\soption\sto\slsort:\n\nhttps://sourceforge.net/tracker/?func=detail&aid=2082681&group_id=10894&atid=310894\n\nWhen\susing\s-group\sin\sconjunction\swith\sthe\smultiple\sindex\nform\sof\s-index,\sit\sseemed\sto\smake\smost\ssense\sto\shave\n-group\sconsume\sthe\sfirst\sindex\sgiven\sto\s-index,\sand\nuse\sthat\sas\sthe\soffset\swithin\seach\sgroup.\n\ne.g.\n%\slsort\s-group\s3\s-index\s{0\s1}\s\\\n\s\s\s\s{{Bob\sSmith}\s25\sAudi\s{Jane\sDoe}\s40\sFord}\n{{Jane\sDoe}\s40\sFord\s{Bob\sSmith}\s25\sAudi}\n\n(since\sSmith\sis\sindex\s1\sof\selement\s0\sof\sthe\sfirst\sgroup\sof\s3,\nand\sit\ssorts\safter\sDoe\sin\sthe\scorresponding\sposition\sin\sthe\n2nd\sgroup\sof\s3).\n\nI\smight\sget\sround\sto\sa\spatch\sfor\slsearch\sand\sa\sTIP\sat\ssome\npoint\s...\n\n
J login kieranelby
J mimetype text/plain
J username kieranelby
K 747083ffffffffffffffffffffffffffffffffff
U kieranelby
Z 7128cf22d6b74dddb516c775994b24fd