Hello,

On Tue, Sep 08, 2009 at 03:34:38PM +0200, hammy.l...@gmail.com wrote:
> On Tue, Sep 8, 2009 at 1:55 PM, Carl Fredrik Hammar wrote:
>
> >> Do you have some general idea of how multi-component pattern matching
> >> could be implemented more efficiently than that?  Some vague pointer
> >> should suffice for me to adapt the idea to unionfs.
> >
> > How about matching one component at a time?
> >
[...]
> 
> Just realized that there are many programs that do this pattern matching,
> and indeed glibc's glob() does exactly this.  It even has some extensions
> so that it can be used on structures other than directories.
> 
> Forget what I said and just use glob().

Thanks for information :-) I will certainly use glob, if nobody
minds.

Regards,
scolobb


Reply via email to