From: H. Peter Anvin Date: Wed, 11 May 2005 21:30:34 GMT Subject: Re: [PATCH Cogito] match pathnames in exclude handling Message-ID: <4282797A.5020001@zytor.com> In-Reply-To: <20050511052546.GC11192@kiste.smurf.noris.de> Matthias Urlichs wrote: > > I already did, last week. (I do need to cleanup my changes...) > > The idea is that "foo" matches anywhere, "foo/bar" the exact pathname. > As a special case, "./foo" matches in the root directory only. > > NB: "*" can cross subdirectory paths, so "*/foo/bar" does match > "a/b/c/foo/bar". > How does that mean foo*.c would match foo/bar/quux.c? That's probably a bad thing. I do like the (sadly, rarely used) convention that ** matches / whereas * doesn't. -hpa