|
2005-06-09
| ||
| 23:21 | • Closed ticket [1190891fff]: 'glob' man page issues plus 7 other chan... artifact: 0a1ff14a91 user: vincentdarley | |
|
2005-04-29
| ||
| 07:07 | • Ticket [1190891fff]: 4 changes artifact: dcf156f1ac user: hobbs | |
|
2005-04-27
| ||
| 17:06 | • Ticket [1190891fff]: 5 changes artifact: df98bf9ab1 user: vincentdarley | |
| 10:05 | • New ticket [1190891fff]. artifact: 6d5a697c76 user: vincentdarley | |
'glob' man page issues
Closed / Fixed1190891fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 21 years ago
Descriptionplain2005-04-27 10:05:02
Two issues: (i) The glob man page should be more explict that it does not guarantee any particular order (with respect to sorting) in the returned list. (ii) The page contains this text: Unlike other Tcl commands that will accept both network and native style names (see the \fBfilename\fR manual entry for details on how native and network names are specified), the \fBglob\fR command only accepts native names. .TP Which has two sub-issues: (a) The 'filename' man page does not contain the word "network" anywhere, so it is hard for the user to know what to make of the above. (In addition, 'native' is misleading, since glob will accept a path that doesn't look like what 'file nativename' produces). (b) As far as I know, 'glob' is happy with any valid filename given to it, including things like windows shares //computer/shared/etc. So, perhaps this caveat in the glob man page should just be removed?
vincentdarleyplain2005-04-27 17:06:06
Logged In: YES user_id=32170 Jeff: any comments on this?
hobbsplain2005-04-29 07:07:14
Logged In: YES user_id=72656 The filename man page does quite explicitly outline network style paths on Windows, but does use "UNC", not "network". As to 'native', that is a bit misleading - what types of paths do other commands take that glob doesn't? I'm inclined to remove (ii) mentioned above, and I have no problem with specifying that glob has no guaranteed return order.
vincentdarleyplain2005-06-09 23:21:47
Logged In: YES user_id=32170 Fixed in cvs head.
Log in (anonymous is fine) to add a comment.