Overview
| Artifact ID: | 20b37863ea0bd1012e3cfe17cca2f302d0925251 |
|---|---|
| Ticket: | 1507938fffffffffffffffffffffffffffffffff
array names -exact option malfunction |
| User & Date: | msofer on 2006-06-18 06:44:04 |
Changes
- icomment:
Logged In: YES user_id=148712 The correct syntax is array names arrayName ?mode? ?pattern? It works alright here if you do array names test1 -exact name* There might still a bug in there: even though the man page states that "If there are no (matching) elements in the array, or if arrayName isn't the name of an array variable, then an empty string is returned.", your command might be expected to error out with a message bad option "test": must be -exact, -glob, or -regexp Note that is looking for the names of elements of the array named '-exact', with an option 'test' and a pattern 'name*'. As to the feature requests: please submit them in a separate ticket under "Feature Requests". Or, even better, submit a TIP (http://wiki.tcl.tk/983).
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"