Re: Technical reason to use `-path "./foo" -prune` vs `-name "foo" -prune`

2011-04-05 Thread James Youngman
[re-adding the mailing list again] On Tue, Apr 5, 2011 at 7:10 PM, Peggy Russell wrote: > I find `-D search` the most helpful of debug options. Good to know. I didn't know anybody else used them. > Most of the -D options seem > geared towards optimization rather than diagnostic, although mayb

Re: If the expression contains *any action* anywhere (excluding -prune), the user must provide all actions.

2011-04-05 Thread Eric Blake
On 04/04/2011 10:47 PM, Peggy Russell wrote: > The bottom line seemed to be, I wasn't sure when an implicit `print` was going > to occur. Ah! Now I get it. If the expression contains *any action* anywhere, > the user must provide all actions. Correct, for the right definition of actions. > The ex

Re: If the expression contains *any action* anywhere (excluding -prune), the user must provide all actions.

2011-04-05 Thread Peggy Russell
Got it. > It's true. The -exec and -delete predicates also (from memory, I'm > not looking at the code right now) turn off the default of performing > -print when the entire expression is true. If the documentation > doesn't make this clear, could you raise a bug report on the website > explai

Re: Questions about how to use git

2011-04-05 Thread Kai Yu
By copying relevant files in findutils-4.2.18.tar.gz/findutils-4.3.5.tar.gz to checked out versions, now I can compile both the package of 4.2.18 4.3.5 successfully. Thank you. 2011/4/4 James Youngman : > I assume you deleted gnulib/ before running import-gnulib.sh.   If so, > I have no suggestion

Re: Technical reason to use `-path "./foo" -prune` vs `-name "foo" -prune`

2011-04-05 Thread James Youngman
On Tue, Apr 5, 2011 at 1:23 AM, Peggy Russell wrote: >> > On a side note: I understand `-name` is the basename and `-path` is >> > the dirname. Everything is a file. A directory can be matched >> > with `-name` or `-path`, a file can only be matched with `-name` and >> > `-path` if no slashes used