Mickael Remond <>
Sun May 1 22:29:24 CEST 2005


I have been trying to use filelib:wildcard/2 in Erlang/OTP R10B-3.
The documentation says:

        wildcard(Wildcard, Cwd) -> list()

               Types  Wildcard = filename() | dirname()
                      Cwd = dirname()

               The wildcard/2 function works like wildcard/1, except 
               instead of the actual working dirctory, Cwd will
               be used.

However, this feature does not seem to be implemented:
filelib:wildcard("*", "/") always return the content of the current 

I hope this helps,

Mickaël Rémond

More information about the erlang-bugs mailing list