Artifacts Associated With Ticket ac104c9ecb
Ticket change [0d873e05e6] (rid 223401) by anonymous on 2024-03-20 08:16:03:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-fossil-plain"
- comment initialized to:
I think the example given here (https://www.tcl.tk/man/tcl8.6/TclCmd/lsearch.htm#M26) is not the right one, because with or without the '-index' option, the result is the same. lsearch -index 1 -all -inline {{a abc} {b bcd} {c cde}} *bc* > {a abc} {b bcd} lsearch -all -inline {{a abc} {b bcd} {c cde}} *bc* > {a abc} {b bcd} Tested with versions: 8.6.14 and 9.0b1 - foundin initialized to: "8.6+"
- is_private initialized to: "0"
- login: "anonymous"
- priority initialized to: "5 Medium"
- private_contact initialized to: "09c930666be5f16f66385ff2c54c7816bbb4dfd4"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "anonymous"
- subsystem initialized to: "17. Commands I-L"
- title initialized to: "lsearch -index help page"
- type initialized to: "Bug"
Ticket change [36bcd411f2] (rid 234898) by pooryorick on 2024-11-08 11:19:13:
- icomment:
Fixed in [17a6f70fc1]. Someone might want to backport the fix as well.
- login: "pooryorick"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- icomment:
Ticket change [33440e38dc] (rid 234970) by juliannoble2 on 2024-11-12 07:04:37:
- icomment:
I think the original example for the -stride version was wrong too. The result is just a list - and shouldn't show as braced, as none of the earlier lsearch examples have an extra level of bracing for a list result. lsearch -stride 2 -index 1 -all -inline {a abc b bcd c cde} *bc* -> {a abc b bcd} Updated version should just be: lsearch-stride 2 -index 1 -all -inline {abc abc abc bcd abc cde} *bc* -> abc abc abc bcd - login: "juliannoble2"
- mimetype: "text/plain"
- icomment:
Ticket change [1417b3a483] (rid 235012) by pooryorick on 2024-11-12 15:00:08:
- icomment: "Fixed in [37bcceec1e]. Thanks for catching that."
- login: "pooryorick"
- mimetype: "text/x-fossil-wiki"
Ticket change [6eb1c04f60] (rid 235017) by jan.nijtmans on 2024-11-12 23:19:07:
- closedate changed to: "2460627.47161486"
- closer changed to: "jan.nijtmans"
- icomment:
Now merged to all branches, so can be closed. Thanks!
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- status changed to: "Closed"