On 5/28/20 12:02 PM, Ilkka Virta wrote:
> Could it be possible to extend GLOBIGNORE or some other option to have
> globs like foo/.* not generate . and .. as the final part of the path
> regardless of the level they are in?
It seems reasonable to have GLOBIGNORE discard a pathname whose terminal
component is `.' or `..'. It's consistent with the idea that GLOBIGNORE
ignores a filename component of `.' or `..'.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU [email protected] http://tiswww.cwru.edu/~chet/