Re: !(.pattern) can match . and .. if dotglob is enabled

2021-06-17 Thread Nora Platiel
On 2021-06-15 10:19 Chet Ramey wrote: > > Or rather, > > to never generate . or .. as a pathname component via globbing. > > I don't think it's useful -- and it's certainly incompatible -- to make > an explicit pattern like `.?' ignore `..'. I think it would be most useful. A better design. Of

Re: !(.pattern) can match . and .. if dotglob is enabled

2021-06-17 Thread Nora Platiel
On 2021-06-15 09:43 Chet Ramey wrote: > I can see how this would be more intuitive. Let's try it. I'll put support > in the next devel branch push. Thanks! > I'm leaning towards a general statement about how dotglob affects the set > of filenames that are tested against the extended patterns,