[erlang-patches] Support ** for recursion in filelib:wildcard
Tue Mar 13 14:47:44 CET 2012
We have included this patch in the 'pu' branch.
Thank you for the contribution!
On 2012-03-07 09:38, José Valim wrote:
> Hello everyone, any feedback on the proposal below?
> On Mon, Feb 20, 2012 at 5:18 PM, José Valim <
> <mailto:>> wrote:
> So here is a patch that allows ** in filelib:wildcard() in order
> to support recursion.
> git fetch git://github.com/josevalim/otp.git
> <http://github.com/josevalim/otp.git> double_star
> ** now works similarly to bash, ruby, racf, etc. For example,
> running filelib:wildcard("**/*.erl", Cwd) will find all files
> ending with .erl in the Cwd recursively.
> PS: I had some minor bumps in the road but in general I've found
> the process of submitting patches to Erlang very well documented.
> So thanks to those responsible for making this easy. :)
> erlang-patches mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-patches