[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: es bug



> |I've noticed that "*/" expands to all file names with "/" appended,
> |instead of just the names of directories.  I think this is a bug --
> |all the other glob code I've used does the right thing (expands to
> |just directories).

It's not necessarily a bug, because it does not follow from the simple
definition of globbing.  You have to handle the case of a null
pathname specially with an extra check; es does not.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer

Chet Ramey, Case Western Reserve University	Internet: chet@po.CWRU.Edu