[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bash-bug
Subject:    Re: globstar: **/foo*/ matches all directories, even ones not named foo*
From:       Chet Ramey <chet.ramey () case ! edu>
Date:       2009-09-18 22:48:18
Message-ID: 4AB40E32.3020604 () case ! edu
[Download RAW message or body]

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/



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic