On 12/5/12 3:17 AM, Roman Rakus wrote:
Works well when used up to 2 levels of ** - ** and **/** is fixed.
However still produce duplicates, when used more levels - **/**/**. Also
produce duplicates for **/a/** form.
The next version will treat any sequence of **/** the same as **, so those
duplicates will be suppressed.
I'm going to argue that some duplicates are going to be expected when you
have patterns like **/a/** that can match the same directory name using
two different "paths," if you will. Other shells that implement **, such
as ksh93, agree. Imperfect, but there's not a good solution.
Chet