2009-01-21, 22:49(-05), Chet Ramey:
> Stephane CHAZELAS wrote:
>
>> Apparently, just like ksh93, bash4 only implements ** and not ***
>> nor the globbing qualifiers, but like zsh it requires **/*.c
>> (**.c won't work).
>
> I'm not sure what version of ksh93 you're using, but the latest version
> I have (t+ 2008-11-11) requires **/*.c as well.
[...]

Sorry, I've had it wrong, bad memory.

In zsh, it's **/ that is a shortcut for (*/)# obiously otherwise
(if ** were short for (*/)#) **.c would match any file named
".c" in any subdirectory, and ** alone is not special.

In ksh93, ** matches any file in any directory and subdirectory,
while you need **/* in bash or zsh (**/* will also work in ksh).

-- 
Stéphane

Reply via email to