[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Could we have GLOBIGNORE ignore . and .. in subdirectories, too?
From: |
Chet Ramey |
Subject: |
Re: Could we have GLOBIGNORE ignore . and .. in subdirectories, too? |
Date: |
Wed, 17 Jun 2020 09:50:19 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 |
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 chet@case.edu http://tiswww.cwru.edu/~chet/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Could we have GLOBIGNORE ignore . and .. in subdirectories, too?,
Chet Ramey <=