Re: simple bug/compat question

2009-01-21 Thread Linda Walsh
It's not a bug. --- It's a feature... ;-) test/[ uses -a and -o for `and' and `or'; the conditional command uses and || for that purpose. This is they way it's documented. --- Would it be inappropriate if [[ were to treat -a -o identically to -a || so [[ could be more of a

Re: globstar syntax

2009-01-21 Thread Stephane CHAZELAS
2009-01-21, 02:48(+01), Sebastian Kapfer: Am Montag, den 19.01.2009, 10:14 -0800 schrieb Alex Reed: Should the globstar (**) syntax allow for partial parameter matching (i.e. **.c to find all *.c files in the current directory and its sub- directories)? Currently this can be implemented

Re: globstar syntax

2009-01-21 Thread 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.