git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH Cogito] match pathnames in exclude handling

From
Matthias Urlichs <smurf@smurf.noris.de>
Date
May 12, 2005, 07:54 UTC
Message-ID
<20050512075415.GA27670@kiste.smurf.noris.de>
In-Reply-To
<4282797A.5020001@zytor.com>
Hi,
H. Peter Anvin:
> How does that mean foo*.c would match foo/bar/quux.c?  That's probably a 
> bad thing.
> 

No, of course not -- that was a thinko on my part when I typed the examples. :-/

> I do like the (sadly, rarely used) convention that ** matches / whereas 
> * doesn't.
> 

fnmatch() doesn't support that. Of course, if there's demand for it, it should be reasonably easy to have our own extended copy.

-- 
Matthias Urlichs   |   {M:U} IT Design @ m-u-it.de   |  smurf@smurf.noris.de
Previous: H. Peter AnvinNext: H. Peter Anvin
Message 20 of 22 in “cg-init breaks if . contains sub-dir”
  1. cg-init breaks if . contains sub-dirBrandon Philips, May 9, 2005
  2. Morten WelinderMay 10, 2005
  3. Matthias UrlichsMay 10, 2005
  4. Brian GerstMay 10, 2005
  5. Jan-Benedict GlawMay 10, 2005
  6. Jan-Benedict GlawMay 10, 2005
  7. Matthias UrlichsMay 10, 2005
  8. Martin WaitzMay 10, 2005
  9. Jan-Benedict GlawMay 10, 2005
  10. David GreavesMay 10, 2005
  11. David GreavesMay 10, 2005
  12. Junio C HamanoMay 10, 2005
  13. Jan-Benedict GlawMay 10, 2005
  14. Matthias UrlichsMay 10, 2005
  15. Jan-Benedict GlawMay 10, 2005
  16. Matthias UrlichsMay 10, 2005
  17. David MansfieldMay 10, 2005
  18. match pathnames in exclude handlingMatthias Urlichs, May 11, 2005
  19. H. Peter AnvinMay 11, 2005
  20. Matthias UrlichsMay 12, 2005
  21. H. Peter AnvinMay 10, 2005
  22. Petr BaudisMay 12, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.