On 12/29/17 6:55 PM, Eric Cook wrote:
> When using an pattern that begin with an period in pattern-list, bash will 
> include dotfiles in the results.
> This doesn't seem to be the case with the various korn shells that i have 
> seen. Since extglob is based on
> ksh's extension to globbing, this appears to be an bug.

It's an interesting question. .c certainly doesn't match any of the
subpatterns. I guess including a `.' as the leading character in the
subpatterns shouldn't allow filenames beginning with `.' to be returned
as not matching. I'll take a look.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

Reply via email to