|
From: | Russell Shaw |
Subject: | Re: Glob fix in locate.c |
Date: | Sun, 13 Jun 2004 13:25:27 +1000 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040122 Debian/1.6-1 |
Andreas Metzler wrote:
On 2004-06-12 Russell Shaw <address@hidden> wrote: [...]I found that locate tries to match against full path names.This is a feature, not a bug.
Why? How is locate usually used? Isn't the purpose of locate for finding known file-name patterns that have an unknown path?
This patch makes it match against the path withleading directories removed.[...] A proper patch would need to make this behavior changeable with a commandline option. cu and- this just my personal opinion -dreas
[Prev in Thread] | Current Thread | [Next in Thread] |