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