[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Expand default global-ignores

From: Peter Samuelson <peter_at_p12n.org>
Date: 2007-08-30 01:07:16 CEST

[Daniel Rall]
>> *.so* seems too broad. That catches all sorts of stuff besides ELF
>> shared libraries - I can imagine someone having files ending in,
>> say, *.solid or *.sound. Maybe "*.so *.so.[0-9]*" instead?
>
> Good point. Does *.so.[0-9] DTRT?

No, what he's trying to match is any of these:

  libfoo.so
  libfoo.so.5
  libfoo.so.5.0
  libfoo.so.5.0.33

If you assume no more than 3 version components and no more than
2 digits per each, that is still 15 glob patterns, which begins to
look ridiculous. That is why I put the * after the [0-9].

-- 
Peter Samuelson | org-tld!p12n!peter | http://p12n.org/

Received on Thu Aug 30 01:04:28 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.