Skip to content
Tcl Source Code View Ticket
Login

View Ticket

[glob -types d] returns links

Closed / Fixed951489ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 23 years ago
Descriptionplain2004-05-10 20:12:47
This may be a documentation bug:

% file mkdir a 
% file link a/b .
.
% glob -types d -directory a *
a/b
% glob -types l -directory a *
a/b

I create a link b in a directory a,
then ask for all the directories
in a, and a/b is returned, even
though a/b is not a directory, it
is a link to a directory.

I can see this might be desirable
behavior (makes use of links
more transparent), but it doesn't
appear to be documented.
vincentdarleyplain2004-05-11 21:10:44
Logged In: YES 
user_id=32170

Added documentation.
Log in (anonymous is fine) to add a comment.