Re: [PATCH Cogito] match pathnames in exclude handling
- From
- H. Peter Anvin <hpa@zytor.com>
- Date
- May 11, 2005, 21:30 UTC
- Message-ID
- <4282797A.5020001@zytor.com>
- In-Reply-To
- <20050511052546.GC11192@kiste.smurf.noris.de>
Matthias Urlichs wrote:
Show 9 quoted lines
> > 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