Overview
| Artifact ID: | c66d03230b669d8ff1972abe6a7591b95e1a4c4bcdb2a401c855dd3a7d74cd75 |
|---|---|
| Ticket: | edebb6a4ff741f7e7ddcaa17355640a586b52502
lsearch -index requires nested items to exist |
| User & Date: | pooryorick on 2024-11-08 11:45:39 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed to:
The following command, <code><verbatim> lsearch -index 0 {{} one two three} one </verbatim></code> Fails with the error <code><verbatim> element 0 missing from sublist "" </verbatim></code> lsearch would be more useful if the meaning of "-index" was just "match against each value that has such an item", without the additional "each value must have such an item" constraint. A script that uses lsearch is usually more interested in determing which items match, not ensuring that all items meet some criteria. - is_private changed to: "0"
- login: "pooryorick"
- priority changed to: "5 Medium"
- private_contact changed to: "5d4b6538b2536427c4ee4dd0ec7495de74567d31"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "pooryorick"
- subsystem changed to: "- New Builtin Commands"
- title changed to: "lsearch -index requires nested items to exist"
- type changed to: "Bug"