Overview
| Artifact ID: | 71d17fb295e1f9ae1dffee515ef7cd6262ac23140434dcb14a24b0144733ac91 |
|---|---|
| Ticket: | a7c1c2c7e56410980eb154b681f0c5958f2f4cd1
lsearch with -all options does not return -1 where no match is found |
| User & Date: | zhou on 2020-06-20 07:08:43 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
The document of lsearch command says: This command searches the elements of list to see if one of them matches pattern. If so, the command returns the index of the first matching element (unless the options -all or -inline are specified.) If not, the command returns -1. The option arguments indicates how the elements of the list are to be matched against pattern and must have one of the values below: But if you specify the -all option and there is no matches found, the lsearch command returns an empty string instead of -1.
- foundin changed to: "8.6.8"
- is_private changed to: "0"
- login: "zhou"
- priority changed to: "5 Medium"
- private_contact changed to: "c76aa1c4f5b5ad6fa0c50aac05cee1be8566f7a1"
- resolution changed to: "None"
- severity changed to: "Severe"
- status changed to: "Open"
- submitter changed to: "zhou"
- subsystem changed to: "- New Builtin Commands"
- title changed to:
lsearch with -all options does not return -1 where no match is found
- type changed to: "Bug"