Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: *$var*/* and recursive globbing



On Jan 26, 10:25pm, Stephane Chazelas wrote:
} Subject: *$var*/* and recursive globbing
}
} *"$var"*/* where $var is empty, expands like **/*
} 
} I would be of the opinion that **/ (and ***/) should recurse only when
} entered as is (or at least the two stars entered as is).

I tend to agree, but I suspect it's impossible without making ** and ***
into lexical tokens, which might have other unintended consequences (not
to mention a significant ripple effect through the globbing code, turning
this into potentially a large change).



Messages sorted by: Reverse Date, Date, Thread, Author