Re: extglob problems

2017-01-15 Thread Grisha Levit
> On 3/23/16 6:15 PM, Isabella Parakiss wrote: >> Just wanted to report a couple of problems in 4.3.42 and the latest >> devel version: > > Thanks for the report. These were both easy fixes, and the fixes will > be in bash-4.4. Using Isabella's examples and the latest devel snapshot, there still

extglob and globstar don't work together?

2017-01-15 Thread Grisha Levit
Is it expected that ** work with extended pattern matching? $ shopt -s extglob globstar $ echo ** d1 d1/f d2 d2/f f $ echo @(**) d1 d2 f

Re: extglob problems

2017-01-15 Thread Grisha Levit
On Sun, Jan 15, 2017 at 2:46 PM, Grisha Levit wrote: > Using Isabella's examples and the latest devel snapshot, there still seems to be something off when dotglob is enabled: Also the following case doesn't seem right (this time without dotglob): $ echo !(f) a b c $ echo !(f)!(f) . .. .x .y .z a