On Fri, Nov 29, 2019 at 2:59 AM Tim via <chicken-users@nongnu.org> wrote:
> Hi Matt, > > Matt Welland writes: > > Supporting glob patterns at any level would be handy. I started to > > implement something which I've included below but before I complete it: > > I like this idea too. Just one thing: would it be possible to use the > double-asterisk ** instead of a single * to represent the directory > matching portion? I.e. /subdir/**/*.txt would find any file with a > name ending in .txt in any directory below /subdir. This is a pretty > common syntax for recursive globbing I think; at least I've seen it in > zsh, python and a few other places. > I don't understand the use or benefit of using ** for directories. Bash, perl and python all expand "*/c*" as I would expect. Can you send a pointer to the usage you are referring to? > > Tim > -- -- Complexity is your enemy. Any fool can make something complicated. It is hard to keep things simple. - Richard Branson.