bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Interaction between -o and the default-print


From: James Youngman
Subject: Re: Interaction between -o and the default-print
Date: Sun, 31 Oct 2004 19:48:27 +0000
User-agent: Mutt/1.3.28i

On Sun, Oct 31, 2004 at 10:12:33AM -0700, Bob Proulx wrote:
> James Youngman wrote:

> > I don't think this is a bug, because "find xxx" is equivalent to "find
> > \( xxx \) -print" and not to "find xxx -print".  (This statement
> > applies if none of the actions in xxx include -print anyway).

> Silence is not always the best form of agreement.  Let me say as a
> crosscheck that I agree with your analysis.  This is not a bug in
> find.  It is behaving as expected and required.

I have modified the findutils development code (parser.c) so that if
the user specifies an option after a non-option, a warning message is
issued.  This does not occur for the -follow and -daystart options,
because those options affect only those tests appearing after them on
the command line, and to such positioning might be deliberate and
correct.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]