On 12/31/17 10:36 PM, Eric Cook wrote:

> So to make my request more specific, i don't think the extglob !() should
> match dotfiles when one of the patterns in the list is preceded with an 
> period.
> to be more ksh93-like.

Let's see if we can be more precise: if a filename beginning with a `.'
does not match any of the patterns in a !(...) list, don't return it as
a match if the leading dot has to be explicitly matched.

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