Skip to content
Tcl Source Code History Of Ticket ac104c9ecbb4066f
Login

History Of Ticket ac104c9ecbb4066f

Artifacts Associated With Ticket ac104c9ecbb4066f

  1. Ticket change [0d873e05e6] (rid 223401) by anonymous on 2024-03-20 08:16:03:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-plain"
    4. 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
      
    5. foundin initialized to: "8.6+"
    6. is_private initialized to: "0"
    7. login: "anonymous"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "09c930666be5f16f66385ff2c54c7816bbb4dfd4"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "anonymous"
    14. subsystem initialized to: "17. Commands I-L"
    15. title initialized to: "lsearch -index help page"
    16. type initialized to: "Bug"
  2. Ticket change [36bcd411f2] (rid 234898) by pooryorick on 2024-11-08 11:19:13:

    1. icomment:
      Fixed in [17a6f70fc1].  Someone might want to backport the fix as well.
      
    2. login: "pooryorick"
    3. mimetype: "text/x-fossil-wiki"
    4. resolution changed to: "Fixed"
  3. Ticket change [33440e38dc] (rid 234970) by juliannoble2 on 2024-11-12 07:04:37:

    1. 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
      
    2. login: "juliannoble2"
    3. mimetype: "text/plain"
  4. Ticket change [1417b3a483] (rid 235012) by pooryorick on 2024-11-12 15:00:08:

    1. icomment: "Fixed in [37bcceec1e]. Thanks for catching that."
    2. login: "pooryorick"
    3. mimetype: "text/x-fossil-wiki"
  5. Ticket change [6eb1c04f60] (rid 235017) by jan.nijtmans on 2024-11-12 23:19:07:

    1. closedate changed to: "2460627.47161486"
    2. closer changed to: "jan.nijtmans"
    3. icomment:
      Now merged to all branches, so can be closed.
      
      Thanks!
      
    4. login: "jan.nijtmans"
    5. mimetype: "text/x-fossil-wiki"
    6. status changed to: "Closed"