Overview
| Artifact ID: | 658fb774f4c12b3759822eeb2627f26a2b4480d8 |
|---|---|
| Ticket: | 689652ffffffffffffffffffffffffffffffffff
lsearch fuller functionality |
| User & Date: | vincentdarley on 2003-02-27 19:47:28 |
Changes
- icomment:
Logged In: YES user_id=32170 Comments from tcl-core: On Thu, 27 Feb 2003, Michael Schlenker wrote: > Looks also reasonable, but I note, that your "illegal" - sorted + pattern > examples do work... Indeed, now I see they do, but they *ignore* the '- sorted' flag. This contradicts what is in the man page, where '-sorted' is explicitly mutually exclusive with -glob and -regexp. I think an error should be thrown for illegal flag combinations. The man page really ought to specify what happens in this case, and also in the case where the list isn't sorted but '-sorted' is given (even if only to say the behaviour is undefined). Currently using '-all' tends to hide all these problems because the implementation with -all is brute force (I doesn't use the fact that -sorted could still provide a benefit).
- login: "vincentdarley"
- mimetype: "text/plain"
- username: "vincentdarley"