Skip to content
Tcl Source Code View Ticket
Login

View Ticket

glob -dir * doesn't return error when "blah" doesn't exist

Closed / Fixed231832ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 25 years ago
Descriptionplain2001-02-10 12:11:17
"glob -dir blah *" or "glob -dir blah: *" when "blah" doesn't exist returns the same result as "glob -dir : *" but with "blah:" added to the beginning of each list item. 

Example:
% glob -dir blah *
{blah:Drag & Drop Tclets} blah:Tcl8.3.shlb blah:Tclapplescript.shlb blah:TclBOAShell blah:TclShell blah:Tk8.3.shlb {blah:Widget Demos} blah:Wish
wilkasonplain2001-02-17 08:34:50
Note: glob -dir blah * returns an error on 8.3.2 for NT
andreas_kupries Ticket [231832ffff]: 3 changes [History diff]2001-08-24 04:45:08
vincentdarleyplain2001-08-24 23:34:57
Logged In: YES 
user_id=32170

I don't see this on Windows, so it is a MacOS bug, it 
seems, (and it might have been fixed with the vfs 
changes).  Assigning to MacOS maintainer.
dasplain2001-08-25 00:03:24
Logged In: YES 
user_id=90580

Yes, this is indeed fixed in 8.4 with patch #435658 applied, 
both 'glob -dir blah *' and 'glob -dir blah: *' now return 
'no files matched glob pattern "*"'

Closing the bug
Log in (anonymous is fine) to add a comment.