[erlang-patches] Support ** for recursion in filelib:wildcard
Fri Jan 20 10:14:23 CET 2012
Some programming languages/softwares (Bash, RACF, Ruby, ...) support "**"
for automatic directory recursion when doing a glob. A very convenient use
of this feature is to get all files recursively with a given extension:
Notice we don't need to loop recursively and it also requires fewer
filesystem lookups. I am aware filelib:fold_files allows recursion, but I
consider filelib:wildcard simpler to use.
My proposal is to extend filelib:wildcard to support "**". I can provide a
patch with docs if you agree to have this feature merged in.
Founder and Lead Developer
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-patches