case sensitivity for file api

Matthias Lang matthias@REDACTED
Thu Feb 9 14:48:19 CET 2006


Vlad Dumitrescu XX (LN/EAB) writes:

 > (test@REDACTED)20> io:format("~s~n", [os:cmd("dir s*tcap*.erl")]).
 > 2006-01-30  13:23               29ÿ899 sS7_Tcap.erl
 > 2006-01-30  13:23               31ÿ722 ss7_tcap.erl
 > 2006-01-30  13:23               33ÿ767 ss7_tcap_subsystem.erl
 > ok
 > (test@REDACTED)21> f(L),L=filelib:wildcard("s*tcap*.erl").        
 > ["ss7_tcap.erl","ss7_tcap_subsystem.erl"]

 > I guess that filelib and file use the local file driver, which for
 > Windows is case insensitive.

I would draw the exact opposite conclusion from the information you've
given, i.e. that whatever mechanism filelib uses, it must be case
_sensitive_. Which is exactly as per the filelib manpage.

Out of curiosity, how did you pick the hostname "EGILA003CTD0VFE"?

Matthias



More information about the erlang-questions mailing list