Re: [Fink-users] findutils: pruning paths with spaces from the locate database

2008-03-04 Thread Richard Cobbe
On Mon, Mar 03, 2008 at 11:50:54AM -0500, Richard Cobbe wrote: > On Mon, Mar 03, 2008 at 11:03:24AM -0500, Mark J. Reed wrote: > > On Mon, Mar 3, 2008 at 10:44 AM, Richard Cobbe <[EMAIL PROTECTED]> wrote: > > > In any case, I'll submit a bug/feature request about this to the upstream > > > folk

Re: [Fink-users] findutils: pruning paths with spaces from the locate database

2008-03-03 Thread Richard Cobbe
On Mon, Mar 03, 2008 at 11:03:24AM -0500, Mark J. Reed wrote: > On Mon, Mar 3, 2008 at 10:44 AM, Richard Cobbe <[EMAIL PROTECTED]> wrote: > > 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 me

Re: [Fink-users] findutils: pruning paths with spaces from the locate database

2008-03-03 Thread Mark J. Reed
On Mon, Mar 3, 2008 at 10:44 AM, Richard Cobbe <[EMAIL PROTECTED]> wrote: > 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

Re: [Fink-users] findutils: pruning paths with spaces from the locate database

2008-03-03 Thread Richard Cobbe
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

Re: [Fink-users] findutils: pruning paths with spaces from the locate database

2008-03-03 Thread Mark J. Reed
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. On 3/3/08, Richard C

[Fink-users] findutils: pruning paths with spaces from the locate database

2008-03-03 Thread Richard Cobbe
I've got a couple of partitions on an external drive that contain only backups, so I don't want them to show up in /sw/bin/locate's database. In principle, the right thing to do is to edit /sw/etc/cron.daily/findutils to pass the --prunepaths option to updatedb, but that doesn't work in this case,