On Mon, Mar 03, 2008 at 09:47:41AM -0500, Mark J. Reed wrote:
> If it's using sed to build a regex and match against that, is it
> quoting regex metachars? If not you could replace the spaces with
> periods and it should work - although it would also prune any other
> paths that were the same other than replacing the space with something
> else.

Ah, a good thought.  No, it isn't checking for regexp metachars.

But, while I was reading through the updatedb script investigating this,
another possibility occurred to me.  If I set the PRUNEREGEX environment
variable to a regexp matching all the directories I want to omit, this will
override any --prunepaths setting.  I think that's probably cleaner, as
long as we're mucking about with undocumented features of updatedb anyway.

In any case, I'll submit a bug/feature request about this to the upstream
folks soon.

Thanks!

Richard

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to