[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: globstar: **/foo*/ matches all directories, even ones not named foo*
From: |
Chet Ramey |
Subject: |
Re: globstar: **/foo*/ matches all directories, even ones not named foo* |
Date: |
Fri, 18 Sep 2009 18:48:18 -0400 |
User-agent: |
Thunderbird 2.0.0.23 (Macintosh/20090812) |
Anders Kaseorg wrote:
> Bash Version: 4.0
> Patch Level: 33
> Release Status: release
>
> Description:
> With the globstar option enabled, bash seems to misinterpret
> other wildcard path components between a **/ and the last / as
> matching any path, even if the path doesn't match the
> wildcard.
Thanks for the report. I will release a fix for this as a patch to
bash-4.0.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/