filelib:wildcard/2

Mickael Remond mickael.remond@REDACTED
Sun May 1 22:29:24 CEST 2005


Hello,

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 
that
               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 
directory.

I hope this helps,

-- 
Mickaël Rémond



More information about the erlang-bugs mailing list