Offhand, this does look like a bug to me, because they behave differently.

HOWEVER, the use of a trailing slash to choose only directories is not
standard or portable.  The POSIX docs on glob(), or even on shell
globbing, make no mention of it and other resources on the net show that
some shells will choose only directories, while other shells strip all
trailing slashes and return all files/directories matching the pattern
with no trailing slash.

To be clear about what you want it's probably better to use "*/." and
"./*/.", where there can be absolutely no question about what you expect
and what you must receive back.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist


_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to