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
Let's say I want to glob just the files with names starting with dots,
but not the ubiquitous dot and dot-dot entries, which are seldom a
useful result of a glob.
That can be done with something like ..?* .[!.]* or .!(|.) with
extglob. Both are still a bit annoying to type, and it